HTTP Redirects

The API uses HTTP redirection where appropriate, for example for resources that have moved location. Clients should assume that any requests may result in a redirection and handle it appropriately depending on the HTTP status code. All redirect responses will have a Location header field which contains the URI that the client should request next. The following status codes are used for redirection:

Status Code

Description

301

The requested resource has been permanently redirected. The URI that was used for the initial request has been superseded by the one specified in the Location. Any future requests should be directed to the new URI instead of the original URI.

302 , 307

The requested resource has been temporarily redirected. The URI that was used for the initial request is still valid but in this case the client should repeat the request to the URI in the Location header. Clients should continue to use the original URI in future requests.

Cloudsmith is the new standard in Package / Artifact Management and Software Distribution

With support for all major package formats, you can trust us to manage your software supply chain.


Start My Free Trial Now
Cookie Declaration (Manage Cookies)