listURLPatterns

get

/ccadmin/v1/urlPatterns

List URLPatterns. Returns a list of URL Patterns used to build Store Front URLs.

Request

Supported Media Types
  • application/json
Query Parameters
type
Type: string

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : listURLPatterns_response
Nested Schema : items
Type: array
The list of URL pattern objects.
Nested Schema : items
Type: object
Nested Schema : availableProperties
Type: array
Properties available to use in URL Patterns
Nested Schema : translations
Type: object
List of translated URL Patterns
Example 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
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Response Payload returned by endpoint:

[[
  {
    "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"
  }
]]