listCountries

get

/ccstore/v1/countries

List Countries. List all the configured countries. Optionally takes the x-ccasset-language header to get translated content in another language.

Request

Supported Media Types
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : listCountries_response
Type: object
Show Source
Nested Schema : items
Type: array
The list of all countries.
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
[
    {
        "displayName":"Canada",
        "countryCode":"CA",
        "repositoryId":"CA"
    },
    {
        "displayName":"United States",
        "countryCode":"US",
        "repositoryId":"US"
    }
]

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top