Microservice providing custom actions on document versions and related entities.
1.4K
Microservice providing custom actions on document versions and related entities.
Add the following snippet to your docker-compose.yml:
document-versions:
image: kanselarij/document-versions-service
Add a document to the collection of documents of an agendaitem. If the agendaitem already contains a previous version of the document -copied from the previous agenda on agenda approval- the previous version(s) gets replaced with the new version. Otherwise the new version is just added to the agendaitem's document collection.
Example request body
{
"data": {
"type": "documents",
"id": "49c54702-c108-43f6-8f14-936427271878"
}
}
Add a document to the collection of documents of an agendaitem. If the agendaitem already contained a new version of the document added the agendaitem after agenda approval- the previous version(s) gets restored when deleting the new version. Only if the deletion would mean that the last piece linking a document-container and an agendaitem is being deleted.
Content type
Image
Digest
sha256:fe24f9215…
Size
57.3 MB
Last updated
over 1 year ago
docker pull kanselarij/document-versions-service