1. Home
  2. Knowledge Base
  3. Set Document Metadata

Set Document Metadata

 

Add or replace the meta-data of an existing document. It will update the metadata of the resource with the highest version number (most recent).

URL:

POST: http://api.aurelon.com/api/v2/document/<DocumentGUID>/meta

Request Headers:

Content-Type : application/json
MisKey : see Authentication

Request Body:

JSON Object containing  the metadata about the document.

Response:

Content type application/json containing the result of the operation.

Success:

200 OK : { “Message”:”Document meta data successfully saved” }

Error:

  • 401 Unauthorised : {“Message”:”Invalid MisKey”}
  • 401 Unauthorised : {“Message”: “”MisKey” or “HardwareHash”, “SerialNumber” and “ApplicationVersion” header are required”}
  • 404 Not Found : {“Message”:”DocumentGUID is not found”}
  • 415 Unsupported Media Type : {“Message”:”This request is not properly formatted”}
  • 500 Internal Server Error : {“Message”:”Internal Server Error”}
Updated on May 19, 2022

Was this article helpful?