-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing documentation for linkintegrity endpoint
- Loading branch information
Showing
4 changed files
with
66 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
GET /plone/@linkintegrity?uids=SomeUUID000000000000000000000001 HTTP/1.1 | ||
GET /plone/@linkintegrity?uids=SomeUUID000000000000000000000002 HTTP/1.1 | ||
Accept: application/json | ||
Authorization: Basic YWRtaW46c2VjcmV0 |
21 changes: 20 additions & 1 deletion
21
src/plone/restapi/tests/http-examples/linkintegrity_get.resp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
TODO | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
|
||
[ | ||
{ | ||
"@id": "http://localhost:55001/plone/doc-2", | ||
"@type": "Document", | ||
"breaches": [ | ||
{ | ||
"@id": "http://localhost:55001/plone/doc-1", | ||
"title": "First document", | ||
"uid": "SomeUUID000000000000000000000001" | ||
} | ||
], | ||
"description": "", | ||
"items_total": 0, | ||
"review_state": "private", | ||
"title": "Second document" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters