net.nusno.gyoka.document.updateDocument

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

Repository @nusno.net did:plc:gjkxkrudpqumaiiytxodmpaj namespace authority
Details · procedure
Kindprocedure
Authoritydocument.gyoka.nusno.net
Commit rev3n2xvbminiz2m
Indexed

Procedure

procedure · POST

Input

application/json

content

string

Optional inline content for the document.

  • maxLength: 32768
  • nullable

docType

requiredstring

Document type to update.

  • knownValues: tos | privacy_policy

url

string · uri

Optional source URL for the document.

  • maxLength: 2048
  • nullable

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 request payload is invalid.

InternalServerError

Returned when the document cannot be updated.

Similar lexicons

semantic match

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