stable

Clone or download

Read-only

Bring consistency to the (GET|POST) docman_<type>/:id/versions REST endpoints

Those were not consistent: * POST requests were not made to same URI than the GET requests for a same resource * the URI used is not the same between the different document types In order to not introduce breaking changes in the REST API, the existing routes introduced before this release are kept but are not visible in the API Explorer. Part of story #28263: edit office document stored in Document Change-Id: I98edfbbbb4ba6a3702830398ebccc4321f232f80

Modified Files

Name
M plugins/api_explorer/include/Specification/Swagger/SwaggerJsonPathsAndDefinitions.php +4 −1 Go to diff View file
M plugins/api_explorer/tests/unit/Specification/Swagger/SwaggerJsonDemoResource.php +10 −0 Go to diff View file
M plugins/docman/include/REST/v1/DocmanEmbeddedFilesResource.php +36 −18 Go to diff View file
M plugins/docman/include/REST/v1/DocmanFilesResource.php +23 −13 Go to diff View file
M plugins/docman/include/REST/v1/DocmanLinksResource.php +33 −15 Go to diff View file
M plugins/docman/include/REST/v1/DocmanWikiResource.php +32 −12 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanLinksTest.php +5 −5 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.ts +4 −4 Go to diff View file
M plugins/document/scripts/document/api/version-rest-querier.ts +1 −1 Go to diff View file