Mark the items in a solution as published

post/solutions/{solutionName}/publish

Marks all entity types, page templates, and page contexts as published. This makes it possible to differentiate published items from open and modified items.

Request Samples

1

Response Samples

1{
2 "solutionName": "my_solution",
3 "solutionLabel": "My Solution",
4 "successful": 2,
5 "failed": 1,
6 "results": [
7 {
8 "type": "ENTITY_TYPE",
9 "label": "My Entity Type",
10 "successful": 1,
11 "failed": 0,
12 "errors": []
13 },
14 {
15 "type": "PAGE_TEMPLATE",
16 "label": "My Page Template",
17 "successful": 1,
18 "failed": 0,
19 "errors": []
20 },
21 {
22 "type": "ENTITY_TYPE",
23 "label": "Some Other Entity Type",
24 "successful": 0,
25 "failed": 1,
26 "errors": [
27 {
28 "name": "some_other_entity_type",
29 "label": "Some Other Entity Type",
30 "message": "Some error message describing the error encountered while attempting to publish Some Other Entity Type."
31 }
32 ]
33 }
34 ]
35}

Path Parameters

NameTypeRequiredDescription
solutionName
string
true

The name of the solution.

Request Body

The request body should be empty.

Not Available

Responses

StatusMeaningDescription
200OK

The request succeeded. The solution was published.

Schema
400Bad Request

There was a problem with the solution in the request body.

Schema
404Not Found

The solution was not found.

Schema