Skip to Main Content
Riverty Docs
riverty logo Docs

Get the Information of a Document

Path

GET /documents/{documentId}

Request Parameters

documentId
required
string
Refers to document

Responses

  • name
    string
    Max length: 256
    The name of the document.
    type
    string
    Max length: 20
    The type of the document. e.g. pdf, jpeg, ...
    size
    integer
    The size of the document in bytes.
  • 400 An error occurred.
  • 401 Not authorized.
  • 404 Not found.
Successful Request

Request Example

    
        null
    

Response Example

    
        {
 "name": "Test-file.txt",
 "size": 100,
 "type": ".txt"
}