Tokens
API models for the tokens
endpoint.
GetTokenResponse
¶
A model response from ravyapi.api.endpoints.tokens.Tokens.get_token
.
Attributes¶
data: dict[str, Any] The raw data returned from the Ravy API. user: str The user ID associated with the token. access: list[str] A list of valid permission nodes for the token. application: int The application ID registered to the token. token_type: Literal["ravy", "ksoft"] The type of the token, either "ravy" or "ksoft."
Source code in ravyapi/api/models/tokens.py
access: list[str]
property
¶
A list of valid permission nodes for the token.
application: int
property
¶
The application ID registered to the token.
data: dict[str, Any]
property
¶
The raw data returned from the Ravy API.
token_type: Literal['ravy', 'ksoft']
property
¶
The type of the token, either "ravy" or "ksoft."
user: int
property
¶
The user ID associated with the token.