Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 596 Bytes

check document.md

File metadata and controls

30 lines (23 loc) · 596 Bytes

Document check

POST **rest/v1/students/{studentId}/documents/check/{hash}**

Description

This endpoint checks the status of a certain documet

Required Header

  • Z-Dev-ApiKey
  • Z-Auth-Token
  • User-Agent: zorro/1.0
  • Z-Auth-Token: token

Parameters

  • studentId (required) — your student id obtained with the login
  • hash (required) — the hash code of the document

Example

Request

https://web.spaggiari.eu/rest/v1/students/{studentId}/documents/check/{hash}

Return shortened response

{
   "document":{
      "available":true
   }
}