Documentation > Access API > AssetController > accessapi/Asset/PublishRefresh
accessapi/Asset/PublishRefresh
Refresh the assets in a folder based on the publishing package id.
POST
https://cms.crownpeak.com/[Your Instance]/cpt_webservice/accessapi/Asset/PublishRefreshRequest Information
URI Parameters
None.
Body Parameters
The parameters sent as post data.
AssetPublishRefreshRequest
Name | Description | Type |
---|---|---|
assetIds | List of folder ids |
List<System.Int32> |
publishingServerId | The publishing package server id to refresh |
System.Int32 |
skipDependencies | Determines whether to include dependencies when refreshing an asset |
System.Boolean |
Request Formats
application/json
Sample:
{ "assetIds": [4559, 4560, 4561], "publishingServerId": 765, "skipDependencies": true }
Response Information
Resource Description
AssetPublishRefreshResponse
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 }