Documentation > Access API > AssetController > accessapi/Asset/Publish
accessapi/Asset/Publish
Publish a non-workflow asset.
POST
https://cms.crownpeak.com/[Your Instance]/cpt_webservice/accessapi/Asset/PublishRequest Information
URI Parameters
None.
Body Parameters
The parameters sent as post data.
AssetPublishRequest
Name | Description | Type |
---|---|---|
assetIds | List of asset ids |
List<System.Int32> |
skipDependencies | Determines whether to include dependencies when refreshing an asset |
System.Boolean |
Request Formats
application/json
Sample:
{ "assetIds": [4559, 4560, 4561], "skipDependencies": true }
Response Information
Resource Description
AssetPublishResponse
Name | Description | Type |
---|---|---|
publishingSessionId | System.Int32 | |
ResultCode | eResultCodes | |
ErrorMessage | System.String | |
InternalCode | System.Int32 | |
IsSuccessful | System.Boolean |
Response Formats
application/json
Sample:
{ "requiredAction": "None", "publishingSessionId": 1, "resultCode": "conWS_Success", "errorMessage": "", "internalCode": 0 }