v1

latestOpenAPI 3.0.12026-07-178411.9 KB
Articles

Adds a grant

put/articles/{articleId}/{articleVersion}/grants

Request body

identifierstring
permissionsstring[]

Example request

{
  "identifier": "foo|bar or abhishek@example.org or @example.org"
}

Response

Grant successfully added

idstring
datastring
ownerstring
versionnumber

Example response

{
  "id": "ab923c",
  "data": "#hello world",
  "owner": "foo|barid020340",
  "version": 43,
  "grants": [
    {
      "identifier": "foo|bar or abhishek@example.org or @example.org"
    }
  ]
}