Module hex_api_release
Function Index
delete/3 | |
get/3 | Gets package release. |
publish/2 | |
retire/4 | |
unretire/3 |
Function Details
delete/3
delete(Config, Name, Version) -> any()
get/3
get(Config, Name, Version) -> any()
Gets package release.
Examples:
> hex_api:get_release(<<"package">>, <<"1.0.0">>, hex_core:default_config()).
{ok, {200, ..., #{
<<"version">> => <<"1.0.0">>,
<<"meta">> => #{
<<"description">> => ...,
<<"licenses">> => ...,
<<"links">> => ...,
<<"maintainers">> => ...
},
...}}}
publish/2
publish(Config, Tarball) -> any()
retire/4
retire(Config, Name, Version, Params) -> any()
unretire/3
unretire(Config, Name, Version) -> any()