Implement POST /projects/{id}/wip-resources/publishing API

Description

POST /projects/{id}/wip-resources/publishing API implementation

See ADR - Project & Workflow Services - ADR Summary

image

**Implement Publish WIP resources operation**
- API POST /projects/{id}/publish
- request body: {"ids": [..., ..., ...]}
- response body: 
-- {"ids": [..., ..., ...]}
or
-- {"errors": [{"id": "...", "error": {...}}, {"id": "...", "error": {...}}], }

Acceptance criteria

  • project publish API are existing and documented in Swagger

Testing scenarios

  • unit tests
  • use publish API in context of a CP

Technical notes

Edited by Rostislav Dublin (EPAM)