List SCM provider's spaces
GET/scm/provider/:providerType/:providerId/spaces
Lists Source Code Management provider's spaces.
Request
Path Parameters
Type of an existing SCM provider
Available providers and supported actions can be obtained through the /scm/providers
endpoint.
Instance ID of an existing SCM provider
Available providers and supported actions can be obtained through the /scm/providers
endpoint.
Header Parameters
CodeNOW API Key
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
List of SCM provider's spaces
- application/vnd.codenow.v1+json
- Schema
- Example (from schema)
Schema
Array [
]
Name of the SCM space.
Type of the SCM space. It depends on the type of the SCM provider.
ID of the SCM space
[
{
"name": "string",
"type": "string",
"spaceId": "string"
}
]
The request was unacceptable, often due to missing a required parameter.
No valid API key provided.
The API key doesn't have permissions to perform the request.
Resource not found.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on CodeNOW's end.