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.
1{2 "solutionName": "sample_solution",3 "solutionLabel": "Sample Solution",4 "successful": 42,5 "failed": 1,6 "results": [7 {8 "type": "ENTITY_TYPE",9 "label": "Entity Type",10 "successful": 42,11 "failed": 1,12 "errors": [13 {14 "name": "sample_item",15 "label": "Sample Item",16 "message": "Record is locked by another user."17 }18 ]19 }20 ]21}
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The request succeeded. The solution was published. | Schema | |
| 400 | Bad Request | There was a problem with the solution in the request body. | Schema | |
| 404 | Not Found | The solution was not found. | Schema |