net.nusno.gyoka.document.getDocument

Fetch the stored document body and URL for a Gyoka document type.

Repository @nusno.net did:plc:gjkxkrudpqumaiiytxodmpaj namespace authority
Details · query
Kindquery
Authoritydocument.gyoka.nusno.net
Commit rev3n2xvbmcxoi2y
Indexed

Query

query · GET

Parameters

query string

docType

requiredstring

Document type to fetch.

  • knownValues: tos | privacy_policy

Output

application/json

content

requiredstring
  • maxLength: 32768
  • nullable

docType

requiredstring
  • knownValues: tos | privacy_policy

url

requiredstring · uri
  • maxLength: 2048
  • nullable

Errors

AuthenticationRequired

Returned when service authentication is required and the caller is not authenticated.

Forbidden

Returned when the authenticated caller is not in the admin allowlist.

BadRequest

Returned when the query parameters are invalid.

NotFound

Returned when the requested document has not been stored.

InternalServerError

Returned when the document cannot be loaded.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.