document access control

POST /acp/document/relationship

Changed on

Add an actor relationship using document acp system

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/acp/document/relationship
  • Auth
    • none
    • or HTTP bearer

Request body

CollectionNamestring
DocIDstring
Relationstring
TargetActorstring

Response

Add document acp relationship result

ExistedAlreadyboolean

Changes