api
Make adhoc calls to the Vendor API v3. Uses your local credentials and prints the response unmodified. For more information, see the Vendor API v3 documentation.
Usage
replicated api [command]
Pass the PATH of the request as the final argument. Do not include the host or version. Replicated recommends piping the output to jq for easier reading.
Available Commands
Command | Description |
---|---|
get | Make adhoc GET API calls to the Vendor API v3 |
post | Make adhoc POST API calls to the Vendor API v3 |
put | Make adhoc PUT API calls to the Vendor API v3 |
Flags
Flag | Type (if applicable) | Description |
---|---|---|
-h, --help | Help for the command. |
Examples
replicated api get /v3/apps
replicated api put /v3/app/2EuFxKLDxKjPNk2jxMTmF6Vxvxu/channel/2QLPm10JPkta7jO3Z3Mk4aXTPyZ -b '{"name":"put-example"}'
replicated api post /v3/app/2EuFxKLDxKjPNk2jxMTmF6Vxvxu/channel -b '{"name":"post-example"}'