listURLPatterns

get

/ccadmin/v1/urlPatterns

List URL Patterns. Gets the list of URL patterns used to build storefront URLs.

Request

Supported Media Types
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : listURLPatterns_response
Type: object
Show Source
Nested Schema : items
Type: array
The list of URL pattern objects.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : availableProperties
Type: array
Properties available to use in URL Patterns
Show Source
Nested Schema : translations
Type: object
List of translated URL Patterns
Example Response (application/json)
[
    [
        {
            "availableProperties":[
                "description",
                "displayName",
                "id",
                "parentCategory",
                "seoDescriptionDerived",
                "seoTitleDerived",
                "seoUrlSlugDerived"
            ],
            "default":"/{seoTitleDerived}/category/{id}",
            "translations":{
                "1":"/{seoTitleDerived}/category/{id}"
            },
            "name":"Collection Page",
            "repositoryId":"categoryPageRoute",
            "autoRedirect":true,
            "value":"/{seoTitleDerived}/category/{id}",
            "example":"/cameras-and-camcorders/category/cameracat"
        },
        {
            "availableProperties":[
                "CountryOfOrigin",
                "brand",
                "description",
                "displayName",
                "id",
                "parentCategory",
                "seoDescriptionDerived",
                "seoTitleDerived",
                "seoUrlSlugDerived",
                "type"
            ],
            "default":"/{seoTitleDerived}/product/{id}",
            "translations":{
                "1":"/{seoTitleDerived}/product/{id}"
            },
            "name":"Product Page",
            "repositoryId":"productPageRoute",
            "autoRedirect":true,
            "value":"/{seoTitleDerived}/product/{id}",
            "example":"/samsung-f90bn-hd-flash-memory-camcorder/product/camcorder_1"
        }
    ]
]

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