Authorizations
The API token generated from the Obselite dashboard
Query Parameters
The number of items per page, see pagination
The starting point of the page, see pagination
The page number, see pagination
curl --request GET \
--url https://api.obselite.com/v0/auth/sessions \
--header 'Authorization: Bearer <token>'{
"items": [
{
"isCurrent": true,
"expiresAt": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"updatedAt": "<string>"
}
],
"metadata": {
"count": 123,
"isFirstPage": true,
"isLastPage": true,
"limit": 123,
"nextPage": 123,
"offset": 123,
"page": 123,
"pageCount": 123,
"previousPage": 123
}
}Read all sessions for the current user
curl --request GET \
--url https://api.obselite.com/v0/auth/sessions \
--header 'Authorization: Bearer <token>'{
"items": [
{
"isCurrent": true,
"expiresAt": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"updatedAt": "<string>"
}
],
"metadata": {
"count": 123,
"isFirstPage": true,
"isLastPage": true,
"limit": 123,
"nextPage": 123,
"offset": 123,
"page": 123,
"pageCount": 123,
"previousPage": 123
}
}The API token generated from the Obselite dashboard
The number of items per page, see pagination
The starting point of the page, see pagination
The page number, see pagination