Skip to main content

List SCM provider's spaces

GET 

/scm/provider/:providerType/:providerId/spaces

Lists Source Code Management provider's spaces.

Request

Path Parameters

    providerType stringrequired


    Type of an existing SCM provider
    Available providers and supported actions can be obtained through the /scm/providers endpoint.

    providerId stringrequired


    Instance ID of an existing SCM provider
    Available providers and supported actions can be obtained through the /scm/providers endpoint.

Header Parameters

    X-Codenow-Api-Key anyrequired

    CodeNOW API Key

Responses

List of SCM provider's spaces

Schema

  • Array [

  • name stringrequired


    Name of the SCM space.

    type stringrequired


    Type of the SCM space. It depends on the type of the SCM provider.

    spaceId stringrequired


    ID of the SCM space

  • ]

Loading...