CMS SmartEdit Webservices
These enhanced services manage CMS-related items specifically designed for SmartEdit.
Version: 1.0
BasePath:/cmssmarteditwebservices
Use of this file is subject to the terms of your agreement with SAP SE or its affiliates respecting the use of the SAP product for which this file relates.
http://apache.org/licenses/LICENSE-2.0.html
Access
- OAuth AuthorizationUrl:TokenUrl:https://{oauth2_url}/authorizationserver/oauth/token
- OAuth AuthorizationUrl:TokenUrl:https://{oauth2_url}/authorizationserver/oauth/token
[ Jump to Models ]
Table of Contents
Up
get /v1/sites/{baseSiteId}/contentcatalogs
Get content catalogs (getContentCatalogs)
Endpoint to retrieve content catalog information including the related catalog versions for all catalogs for a given site.
Path parameters
baseSiteId (required)
Path Parameter — The site identifier
Return type
Example data
Content-Type: application/json
{
"catalogs" : [ {
"catalogId" : "catalogId",
"versions" : [ {
"pageDisplayConditions" : [ {
"typecode" : "typecode",
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ]
}, {
"typecode" : "typecode",
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ]
} ],
"active" : true,
"uuid" : "uuid",
"version" : "version",
"homepage" : {
"current" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
},
"old" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
},
"fallback" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
}
},
"thumbnailUrl" : "thumbnailUrl"
}, {
"pageDisplayConditions" : [ {
"typecode" : "typecode",
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ]
}, {
"typecode" : "typecode",
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ]
} ],
"active" : true,
"uuid" : "uuid",
"version" : "version",
"homepage" : {
"current" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
},
"old" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
},
"fallback" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
}
},
"thumbnailUrl" : "thumbnailUrl"
} ],
"name" : {
"key" : "name"
}
}, {
"catalogId" : "catalogId",
"versions" : [ {
"pageDisplayConditions" : [ {
"typecode" : "typecode",
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ]
}, {
"typecode" : "typecode",
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ]
} ],
"active" : true,
"uuid" : "uuid",
"version" : "version",
"homepage" : {
"current" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
},
"old" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
},
"fallback" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
}
},
"thumbnailUrl" : "thumbnailUrl"
}, {
"pageDisplayConditions" : [ {
"typecode" : "typecode",
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ]
}, {
"typecode" : "typecode",
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ]
} ],
"active" : true,
"uuid" : "uuid",
"version" : "version",
"homepage" : {
"current" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
},
"old" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
},
"fallback" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
}
},
"thumbnailUrl" : "thumbnailUrl"
} ],
"name" : {
"key" : "name"
}
} ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
CatalogListData
401
Must be authenticated as an Admin or CMS Manager to access this resource
Up
get /v1/sites/{baseSiteId}/productcatalogs
Get product catalogs (getProductCatalogs)
Endpoint to retrieve product catalog information including the related catalog versions for all catalogs for a given site
Path parameters
baseSiteId (required)
Path Parameter — The site identifier
Return type
Example data
Content-Type: application/json
{
"catalogs" : [ {
"catalogId" : "catalogId",
"versions" : [ {
"pageDisplayConditions" : [ {
"typecode" : "typecode",
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ]
}, {
"typecode" : "typecode",
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ]
} ],
"active" : true,
"uuid" : "uuid",
"version" : "version",
"homepage" : {
"current" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
},
"old" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
},
"fallback" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
}
},
"thumbnailUrl" : "thumbnailUrl"
}, {
"pageDisplayConditions" : [ {
"typecode" : "typecode",
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ]
}, {
"typecode" : "typecode",
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ]
} ],
"active" : true,
"uuid" : "uuid",
"version" : "version",
"homepage" : {
"current" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
},
"old" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
},
"fallback" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
}
},
"thumbnailUrl" : "thumbnailUrl"
} ],
"name" : {
"key" : "name"
}
}, {
"catalogId" : "catalogId",
"versions" : [ {
"pageDisplayConditions" : [ {
"typecode" : "typecode",
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ]
}, {
"typecode" : "typecode",
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ]
} ],
"active" : true,
"uuid" : "uuid",
"version" : "version",
"homepage" : {
"current" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
},
"old" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
},
"fallback" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
}
},
"thumbnailUrl" : "thumbnailUrl"
}, {
"pageDisplayConditions" : [ {
"typecode" : "typecode",
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ]
}, {
"typecode" : "typecode",
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ]
} ],
"active" : true,
"uuid" : "uuid",
"version" : "version",
"homepage" : {
"current" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
},
"old" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
},
"fallback" : {
"catalogVersionUuid" : "catalogVersionUuid",
"template" : "template",
"defaultPage" : true,
"cloneComponents" : true,
"restrictions" : [ "restrictions", "restrictions" ],
"title" : {
"key" : "title"
},
"typeCode" : "typeCode",
"uid" : "uid",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"onlyOneRestrictionMustApply" : true,
"name" : "name",
"creationtime" : "2000-01-23T04:56:07.000+00:00",
"pk" : "pk"
}
},
"thumbnailUrl" : "thumbnailUrl"
} ],
"name" : {
"key" : "name"
}
} ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
CatalogListData
401
Must be authenticated as an Admin or CMS Manager to access this resource
Up
get /v1/productcatalogs/{catalogId}/versions/{versionId}/categories
Find product categories by text or mask (findProductCategoriesByTextOrMask)
Endpoint to find product categories using a free text search field.
Path parameters
catalogId (required)
Path Parameter — The uid of the catalog
versionId (required)
Path Parameter — The uid of the catalog version
Query parameters
currentPage (optional)
Query Parameter — The requested page number default: 0
langIsoCode (optional)
Query Parameter — The language iso code used to filter products
mask (optional)
Query Parameter — The string value on which products will be filtered if no text value is provided
pageSize (optional)
Query Parameter — The maximum number of elements in the result list. default: 10
sort (optional)
Query Parameter — The string field the results will be sorted with
text (optional)
Query Parameter — The string value on which products will be filtered
Return type
Example data
Content-Type: application/json
{
"productCategories" : [ {
"catalogVersion" : "catalogVersion",
"uid" : "uid",
"thumbnail" : {
"catalogVersion" : "catalogVersion",
"catalogId" : "catalogId",
"code" : "code",
"altText" : "altText",
"mime" : "mime",
"downloadUrl" : "downloadUrl",
"description" : "description",
"url" : "url"
},
"catalogId" : "catalogId",
"code" : "code",
"name" : {
"key" : "name"
},
"description" : {
"key" : "description"
}
}, {
"catalogVersion" : "catalogVersion",
"uid" : "uid",
"thumbnail" : {
"catalogVersion" : "catalogVersion",
"catalogId" : "catalogId",
"code" : "code",
"altText" : "altText",
"mime" : "mime",
"downloadUrl" : "downloadUrl",
"description" : "description",
"url" : "url"
},
"catalogId" : "catalogId",
"code" : "code",
"name" : {
"key" : "name"
},
"description" : {
"key" : "description"
}
} ],
"pagination" : {
"count" : 0,
"totalPages" : 5,
"hasPrevious" : true,
"hasNext" : true,
"page" : 6,
"totalCount" : 1
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
item which serves as a wrapper object that contains a list of CategoryData, never null
CategorySearchResultData
400
Bad Request e.g. incorrect parameter value
401
Must be authenticated as an Admin or CMS Manager to access this resource
Up
get /v1/sites/{baseSiteId}/categories/{code}
Get category by code (uuid) (getCategoryByCode)
Endpoint to retrieve a category that matches the given product category code uuid.
Path parameters
baseSiteId (required)
Path Parameter — Base site identifier
code (required)
Path Parameter — Category code (uuid)
Return type
Example data
Content-Type: application/json
{
"catalogVersion" : "catalogVersion",
"uid" : "uid",
"thumbnail" : {
"catalogVersion" : "catalogVersion",
"catalogId" : "catalogId",
"code" : "code",
"altText" : "altText",
"mime" : "mime",
"downloadUrl" : "downloadUrl",
"description" : "description",
"url" : "url"
},
"catalogId" : "catalogId",
"code" : "code",
"name" : {
"key" : "name"
},
"description" : {
"key" : "description"
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Category data
CategoryData
400
When the item has not been found (CMSItemNotFoundException) or when there was problem during conversion (ConversionException).
401
Must be authenticated as an Admin or CMS Manager to access this resource
Up
get /v1/inbox/workflowtasks
Retrieves all workflow tasks for the current user that are yet to be acted upon (getWorkflowTasks)
Endpoint that retrieves all workflow tasks for the current user
Query parameters
currentPage (optional)
Query Parameter — The requested page number default: 0
pageSize (optional)
Query Parameter — The maximum number of elements in the result list. default: 10
sort (optional)
Query Parameter — The string field the results will be sorted with
Return type
Example data
Content-Type: application/json
{
"pagination" : {
"count" : 0,
"totalPages" : 5,
"hasPrevious" : true,
"hasNext" : true,
"page" : 6,
"totalCount" : 1
},
"tasks" : [ {
"attachments" : [ {
"catalogName" : "catalogName",
"catalogVersion" : "catalogVersion",
"catalogId" : "catalogId",
"pageUid" : "pageUid",
"pageName" : "pageName"
}, {
"catalogName" : "catalogName",
"catalogVersion" : "catalogVersion",
"catalogId" : "catalogId",
"pageUid" : "pageUid",
"pageName" : "pageName"
} ],
"action" : {
"isCurrentUserParticipant" : true,
"code" : "code",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"name" : "name",
"description" : "description",
"startedAgoInMillis" : 0,
"status" : "status"
}
}, {
"attachments" : [ {
"catalogName" : "catalogName",
"catalogVersion" : "catalogVersion",
"catalogId" : "catalogId",
"pageUid" : "pageUid",
"pageName" : "pageName"
}, {
"catalogName" : "catalogName",
"catalogVersion" : "catalogVersion",
"catalogId" : "catalogId",
"pageUid" : "pageUid",
"pageName" : "pageName"
} ],
"action" : {
"isCurrentUserParticipant" : true,
"code" : "code",
"modifiedtime" : "2000-01-23T04:56:07.000+00:00",
"name" : "name",
"description" : "description",
"startedAgoInMillis" : 0,
"status" : "status"
}
} ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The item containing the workflow tasks
CMSWorkflowTaskListData
401
Must be authenticated as an Admin or CMS Manager to access this resource
Up
get /v1/catalogs/{catalogId}/versions/{versionId}/pages/{pageId}/types
Retrieves the component types applicable to a page. (getComponentTypesAvailableToPage)
Retrieves the component types that can be added to a page.
Path parameters
catalogId (required)
Path Parameter — The catalog id
pageId (required)
Path Parameter — The uid of the page for which to find its valid component types
versionId (required)
Path Parameter — The uid of the catalog version
Query parameters
currentPage (optional)
Query Parameter — The requested page number default: 0
fields (optional)
Query Parameter — Response configuration (list of fields, which should be returned in response) default: DEFAULT
mask (optional)
Query Parameter — Search mask applied to the type code and name fields, Uses partial matching
pageSize (required)
Query Parameter — Page size for paging
readOnly (optional)
Query Parameter — Read only mode for attributes. Is only used if attributes are returned (FULL fields option is used) default: false
Return type
Example data
Content-Type: application/json
{
"pagination" : {
"count" : 0,
"totalPages" : 5,
"hasPrevious" : true,
"hasNext" : true,
"page" : 6,
"totalCount" : 1
},
"componentTypes" : [ {
"code" : "code",
"i18nKey" : "i18nKey",
"name" : "name",
"attributes" : [ {
"paged" : true,
"dependsOn" : "dependsOn",
"containedTypes" : [ "containedTypes", "containedTypes" ],
"editable" : true,
"localized" : true,
"subTypes" : {
"key" : "subTypes"
},
"collection" : true,
"params" : {
"key" : "params"
},
"uri" : "uri",
"required" : true,
"cmsStructureType" : "cmsStructureType",
"i18nKey" : "i18nKey",
"idAttribute" : "idAttribute",
"qualifier" : "qualifier",
"labelAttributes" : [ "labelAttributes", "labelAttributes" ],
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ],
"placeholder" : "placeholder",
"cmsStructureEnumType" : "cmsStructureEnumType"
}, {
"paged" : true,
"dependsOn" : "dependsOn",
"containedTypes" : [ "containedTypes", "containedTypes" ],
"editable" : true,
"localized" : true,
"subTypes" : {
"key" : "subTypes"
},
"collection" : true,
"params" : {
"key" : "params"
},
"uri" : "uri",
"required" : true,
"cmsStructureType" : "cmsStructureType",
"i18nKey" : "i18nKey",
"idAttribute" : "idAttribute",
"qualifier" : "qualifier",
"labelAttributes" : [ "labelAttributes", "labelAttributes" ],
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ],
"placeholder" : "placeholder",
"cmsStructureEnumType" : "cmsStructureEnumType"
} ],
"category" : "category",
"type" : "type"
}, {
"code" : "code",
"i18nKey" : "i18nKey",
"name" : "name",
"attributes" : [ {
"paged" : true,
"dependsOn" : "dependsOn",
"containedTypes" : [ "containedTypes", "containedTypes" ],
"editable" : true,
"localized" : true,
"subTypes" : {
"key" : "subTypes"
},
"collection" : true,
"params" : {
"key" : "params"
},
"uri" : "uri",
"required" : true,
"cmsStructureType" : "cmsStructureType",
"i18nKey" : "i18nKey",
"idAttribute" : "idAttribute",
"qualifier" : "qualifier",
"labelAttributes" : [ "labelAttributes", "labelAttributes" ],
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ],
"placeholder" : "placeholder",
"cmsStructureEnumType" : "cmsStructureEnumType"
}, {
"paged" : true,
"dependsOn" : "dependsOn",
"containedTypes" : [ "containedTypes", "containedTypes" ],
"editable" : true,
"localized" : true,
"subTypes" : {
"key" : "subTypes"
},
"collection" : true,
"params" : {
"key" : "params"
},
"uri" : "uri",
"required" : true,
"cmsStructureType" : "cmsStructureType",
"i18nKey" : "i18nKey",
"idAttribute" : "idAttribute",
"qualifier" : "qualifier",
"labelAttributes" : [ "labelAttributes", "labelAttributes" ],
"options" : [ {
"id" : "id",
"label" : "label"
}, {
"id" : "id",
"label" : "label"
} ],
"placeholder" : "placeholder",
"cmsStructureEnumType" : "cmsStructureEnumType"
} ],
"category" : "category",
"type" : "type"
} ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The item containing the list of component types applicable to a page. The results are paged.
CMSComponentTypeListData
400
If the given page cannot be found (CMSItemNotFoundException).
401
Must be authenticated as an Admin or CMS Manager to access this resource
Up
post /v1/sites/{baseSiteId}/catalogs/{catalogId}/pages/{pageId}/operations
Perform different operations on the page item. (perform)
Endpoint to perform different operations on the page item such as delete a page etc.
Path parameters
baseSiteId (required)
Path Parameter — Base site identifier
catalogId (required)
Path Parameter — The uid of the catalog
pageId (required)
Path Parameter — The uid of the page to be updated
pageUid (required)
Path Parameter — The uid of the page
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — The item object containing all the information about operation to be performed
Return type
Example data
Content-Type: application/json
{
"targetCatalogVersion" : "targetCatalogVersion",
"catalogId" : "catalogId",
"operation" : "operation",
"sourceCatalogVersion" : "sourceCatalogVersion"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The page operation item.
CMSPageOperationData
400
When the payload does not have the 'operation' property. (IllegalArgumentException)
401
Must be authenticated as an Admin or CMS Manager to access this resource
404
When the item has not been found (UnknownIdentifierException)
Up
get /v1/productcatalogs/{catalogId}/versions/{versionId}/products
Find products by text or mask (findProductsByTextOrMask)
Endpoint to retrieve products using a free text search field.
Path parameters
catalogId (required)
Path Parameter — The uid of the catalog
versionId (required)
Path Parameter — The uid of the catalog version
Query parameters
currentPage (optional)
Query Parameter — The requested page number default: 0
langIsoCode (optional)
Query Parameter — The language iso code by which products will be filtered
mask (optional)
Query Parameter — The string value on which products will be filtered if no text value is provided
pageSize (optional)
Query Parameter — The maximum number of elements in the result list. default: 10
sort (optional)
Query Parameter — The string field the results will be sorted with
text (optional)
Query Parameter — The string value on which products will be filtered
Return type
Example data
Content-Type: application/json
{
"pagination" : {
"count" : 0,
"totalPages" : 5,
"hasPrevious" : true,
"hasNext" : true,
"page" : 6,
"totalCount" : 1
},
"products" : [ {
"catalogVersion" : "catalogVersion",
"uid" : "uid",
"thumbnail" : {
"catalogVersion" : "catalogVersion",
"catalogId" : "catalogId",
"code" : "code",
"altText" : "altText",
"mime" : "mime",
"downloadUrl" : "downloadUrl",
"description" : "description",
"url" : "url"
},
"catalogId" : "catalogId",
"code" : "code",
"name" : {
"key" : "name"
},
"description" : {
"key" : "description"
}
}, {
"catalogVersion" : "catalogVersion",
"uid" : "uid",
"thumbnail" : {
"catalogVersion" : "catalogVersion",
"catalogId" : "catalogId",
"code" : "code",
"altText" : "altText",
"mime" : "mime",
"downloadUrl" : "downloadUrl",
"description" : "description",
"url" : "url"
},
"catalogId" : "catalogId",
"code" : "code",
"name" : {
"key" : "name"
},
"description" : {
"key" : "description"
}
} ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
item which serves as a wrapper object that contains a list of ProductData, never null
ProductSearchResultData
401
Must be authenticated as an Admin or CMS Manager to access this resource
Up
get /v1/sites/{baseSiteId}/products/{code}
Get product by code (uuid) (getProductByCode)
Endpoint to retrieve a product that matches the given product code uuid.
Path parameters
baseSiteId (required)
Path Parameter — Base site identifier
code (required)
Path Parameter — Product code (uuid)
Return type
Example data
Content-Type: application/json
{
"catalogVersion" : "catalogVersion",
"uid" : "uid",
"thumbnail" : {
"catalogVersion" : "catalogVersion",
"catalogId" : "catalogId",
"code" : "code",
"altText" : "altText",
"mime" : "mime",
"downloadUrl" : "downloadUrl",
"description" : "description",
"url" : "url"
},
"catalogId" : "catalogId",
"code" : "code",
"name" : {
"key" : "name"
},
"description" : {
"key" : "description"
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Product data
ProductData
400
When the item has not been found (CMSItemNotFoundException) or when there was problem during conversion (ConversionException).
401
Must be authenticated as an Admin or CMS Manager to access this resource
Up
get /v1/sites/{baseSiteId}/catalogs/{catalogId}/versions/{versionId}/synchronizations/versions/{targetCatalogVersion}/pages/{pageId}
Get synchronization status (getSyncStatus)
Will build the synchronization status of a page including detailed status of its content slots and their cms components.
Path parameters
baseSiteId (required)
Path Parameter — Base site identifier
catalogId (required)
Path Parameter — The catalog uid
pageId (required)
Path Parameter — The uid of the page from which to retrieve the synchronization status
targetCatalogVersion (required)
Path Parameter — The target catalog version from a synchronization perspective
versionId (required)
Path Parameter — The source catalog version from a synchronization perspective
Return type
Example data
Content-Type: application/json
{
"catalogVersionUuid" : "catalogVersionUuid",
"dependentItemTypesOutOfSync" : [ {
"itemType" : "itemType",
"i18nKey" : "i18nKey"
}, {
"itemType" : "itemType",
"i18nKey" : "i18nKey"
} ],
"itemId" : "itemId",
"itemType" : "itemType",
"lastModifiedDate" : 0,
"selectedDependencies" : [ null, null ],
"name" : "name",
"sharedDependencies" : [ null, null ],
"lastSyncStatus" : 6,
"status" : "status",
"unavailableDependencies" : [ null, null ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
item containing the complex synchronization status of the AbstractPageModel page
syncItemStatus
401
Must be authenticated as an Admin or CMS Manager to access this resource
Up
post /v1/sites/{baseSiteId}/catalogs/{catalogId}/versions/{versionId}/synchronizations/versions/{targetCatalogVersion}
Perform synchronization (performSync)
Will perform synchronization status on a list of item identifier by their ItemSynchronizationData.
Path parameters
baseSiteId (required)
Path Parameter — Base site identifier
catalogId (required)
Path Parameter — The catalog uid
targetCatalogVersion (required)
Path Parameter — The target catalog version from a synchronization perspective
versionId (required)
Path Parameter — The source catalog version from a synchronization perspective
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — The SynchronizationData containing the list of requested synchronizations
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
204
No Content
401
Must be authenticated as an Admin or CMS Manager to access this resource
Up
get /v1/catalogs/{catalogId}/versions/{versionId}/workfloweditableitems
Retrieves the list of objects that tells whether a particular item is editable in any workflow or not (getEditableWorkflowItems)
Retrieves the list of objects that tells whether a particular item is editable in any workflow or not
Path parameters
catalogId (required)
Path Parameter — The uid of the catalog
versionId (required)
Path Parameter — The uid of the catalog version
Query parameters
itemUids (required)
Query Parameter — List of item uids
Return type
Example data
Content-Type: application/json
{
"editableItems" : [ {
"uid" : "uid",
"uuid" : "uuid",
"editableByUser" : true,
"editableInWorkflow" : "editableInWorkflow"
}, {
"uid" : "uid",
"uuid" : "uuid",
"editableByUser" : true,
"editableInWorkflow" : "editableInWorkflow"
} ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The item containing the list of objects that tells whether a particular item is editable in any workflow or not.
CMSWorkflowEditableItemListData
401
Must be authenticated as an Admin or CMS Manager to access this resource
404
When no cms item is found matching the given uid (UnknownIdentifierException).
[ Jump to Methods ]
Table of Contents
AbstractPageData - AbstractPageData
CMSComponentTypeListData - CMSComponentTypeListData
CMSPageOperationData - CMSPageOperationData
CMSWorkflowActionData - CMSWorkflowActionData
CMSWorkflowAttachmentData - CMSWorkflowAttachmentData
CMSWorkflowEditableItemData - CMSWorkflowEditableItemData
CMSWorkflowEditableItemListData - CMSWorkflowEditableItemListData
CMSWorkflowTaskData - CMSWorkflowTaskData
CMSWorkflowTaskListData - CMSWorkflowTaskListData
CatalogListData - CatalogListData
CategoryData - CategoryData
CategorySearchResultData - CategorySearchResultData
ComponentTypeAttributeData - ComponentTypeAttributeData
ComponentTypeData - ComponentTypeData
DisplayConditionData - DisplayConditionData
MediaData - MediaData
OptionData - OptionData
ProductData - ProductData
ProductSearchResultData - ProductSearchResultData
SynchronizationData - SynchronizationData
catalog - catalog
catalogVersion - catalogVersion
homepage - homepage
itemSynchronization - itemSynchronization
itemType - itemType
pagination - pagination
syncItemStatus - syncItemStatus
catalogVersionUuid (optional)
cloneComponents (optional)
creationtime (optional)
defaultPage (optional)
modifiedtime (optional)
name (optional)
onlyOneRestrictionMustApply (optional)
pk (optional)
restrictions (optional)
template (optional)
title (optional)
typeCode (optional)
uid (optional)
componentTypes (optional)
pagination (optional)
catalogId (optional)
operation (optional)
sourceCatalogVersion (optional)
targetCatalogVersion (optional)
code (optional)
description (optional)
isCurrentUserParticipant (optional)
modifiedtime (optional)
name (optional)
startedAgoInMillis (optional)
status (optional)
catalogId (optional)
catalogName (optional)
catalogVersion (optional)
pageName (optional)
pageUid (optional)
Contains information about whether the item from a workflow is editable by session user or not.
editableByUser (optional)
Boolean Indicates whether the session user can edit the item from a workflow or not.
editableInWorkflow (optional)
String Contains the workflow code where item can be edited. It either contains the code of the oldest workflow that contains item or null if there is no workflow. Is used by SmartEdit ui to restrict user from editing an item in a workflow that is not the oldest one.
uid (optional)
uuid (optional)
action (optional)
attachments (optional)
pagination (optional)
tasks (optional)
catalogId (optional)
catalogVersion (optional)
code (optional)
description (optional)
name (optional)
thumbnail (optional)
uid (optional)
item which serves as a wrapper object that contains a list of CategoryData
pagination (optional)
productCategories (optional)
cmsStructureEnumType (optional)
cmsStructureType (optional)
collection (optional)
containedTypes (optional)
dependsOn (optional)
editable (optional)
i18nKey (optional)
idAttribute (optional)
labelAttributes (optional)
localized (optional)
options (optional)
paged (optional)
params (optional)
placeholder (optional)
qualifier (optional)
required (optional)
subTypes (optional)
uri (optional)
attributes (optional)
category (optional)
code (optional)
i18nKey (optional)
name (optional)
type (optional)
options (optional)
typecode (optional)
altText (optional)
catalogId (optional)
catalogVersion (optional)
code (optional)
description (optional)
downloadUrl (optional)
mime (optional)
url (optional)
id (optional)
label (optional)
catalogId (optional)
catalogVersion (optional)
code (optional)
description (optional)
name (optional)
thumbnail (optional)
uid (optional)
pagination (optional)
products (optional)
Catalog item
catalogId (optional)
name (optional)
versions (optional)
active (optional)
homepage (optional)
pageDisplayConditions (optional)
thumbnailUrl (optional)
uuid (optional)
version (optional)
current (optional)
fallback (optional)
old (optional)
itemId (optional)
itemType (optional)
i18nKey (optional)
itemType (optional)
Pagination info
count (optional)
Integer Number of elements on this page format: int32
hasNext (optional)
Boolean Indicates if there is next page
hasPrevious (optional)
Boolean Indicates if there is previous page
page (optional)
Integer Current page number format: int32
totalCount (optional)
Long Total number of elements format: int64
totalPages (optional)
Integer Total number of pages format: int32
item that contains the complex synchronization status of the page
catalogVersionUuid (optional)
dependentItemTypesOutOfSync (optional)
itemId (optional)
itemType (optional)
lastModifiedDate (optional)
lastSyncStatus (optional)
name (optional)
selectedDependencies (optional)
sharedDependencies (optional)
status (optional)
unavailableDependencies (optional)