getMetadata

get

/ccstore/v1/metadata/{id}

Get Metadata. Get the metadata for an item type

Request

Supported Media Types
Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getMetadata_response
Type: object
Show Source
Example Response (application/json)
[
    {
        "itemType":"product",
        "length":254,
        "label":"Name",
        "type":"shortText",
        "required":true,
        "searchable":true,
        "uiEditorType":null,
        "default":null,
        "textSearchable":true,
        "id":"displayName",
        "dimension":null,
        "multiSelect":true,
        "order":"0"
    },
    {
        "itemType":"product",
        "length":165,
        "label":"Product ID",
        "type":"shortText",
        "required":true,
        "searchable":null,
        "uiEditorType":null,
        "default":"",
        "textSearchable":null,
        "id":"id",
        "dimension":null,
        "multiSelect":null,
        "order":"10"
    }
]

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