Admin Constants

Update or create a constant by key (upsert)

put/admin/constants/{key}

Request

  • Base URL
    https://api.miaai.chat (the document declares no server; this is the origin it was published from)
  • URL
    https://api.miaai.chat/admin/constants/{key}
  • Auth
    HTTP bearer

Path parameters

keystring required

Constant key

Request body

valuestring required

Constant value (stored as text)

typestring

Optional type hint

descriptionstring

Optional description

Example request

{
  "value": "5",
  "type": "number"
}

Response

idstring required
keystring required
valuestring required
typestring nullable
descriptionstring nullable
createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.