tonapi_service

Generate project TonAPI token

Changed on
post/api/v1/services/tonapi/generate/token

Request

  • Base URL
    http://localhost:8888
  • Auth
    none declared

Query parameters

project_idinteger required

Project ID

Request body

namestring required
limit_rpsnumber
originsstring[]
capabilitiesTokenCapability[]

Example request

{
  "name": "My token",
  "limit_rps": 5
}

Response

Project TonAPI token

Example response

{
  "token": {
    "id": 1,
    "name": "My token",
    "limit_rps": 5,
    "token": "AE5TZRWIIOR2O2YAAAAGFP2HEWFZJYBP222A567CBF6JIL7S4RIZSCOAZRZOEW7AKMRICGQ",
    "date_create": 1690889913000
  }
}

Changes

    • breaking

      removed the enum value mempool of the request property /

    • info

      removed the mempool enum value from the // response property for the response status

    • warning

      added the new mempool enum value to the // response property for the response status

    • info

      added the new mempool enum value to the request property /