updateHiddenComponentTypes

put

/ccadmin/v1/components/hidden

Update Hidden Component Types. Endpoint for updating the hidden-from-studio-site flag on component descriptors which match the type in the input list.

Request

Supported Media Types
Body ()
Root Schema : updateHiddenComponentTypes_request
Type: object
Show Source
Example:
{
    "widgetDescriptors":[
        {
            "hiddenFromSiteStudio":true,
            "widgetType":"600003"
        }
    ]
}
Nested Schema : widgetDescriptors
Type: array
Contains the components to be hidden or unhidden.
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : updateHiddenComponentTypes_response
Type: object
Show Source
Example Response (application/json)
{
    "repositoryId":"600003",
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccadmin/v1/components/hidden"
        }
    ]
}

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