required | object (LoginUser) |
{- "data": {
- "type": "string",
- "attributes": {
- "email": "string",
- "password": "string"
}
}
}
{- "data": {
- "id": "string",
- "type": "string",
- "attributes": {
- "author_id": 0,
- "email": "string",
- "name": "string",
- "email_verified": true,
- "oauth2_user": true,
- "oauth2_provider": "google",
- "created_at": 0,
- "updated_at": 0
}, - "relationships": {
- "tokens": {
- "data": {
- "type": "string"
}
}
}
}, - "included": [
- {
- "type": "string",
- "attributes": {
- "access": "string",
- "expires_at": 0
}
}
]
}
Invalidate refresh token.
{ }
{- "errors": [
- {
- "title": "string",
- "status": 0,
- "code": "string"
}
]
}
Sign Up/Login user via Google.
required | object (OAuth2Callback) |
{- "data": {
- "type": "string",
- "attributes": {
- "code": "string",
- "state": "string"
}
}
}
{- "data": {
- "id": "string",
- "type": "string",
- "attributes": {
- "author_id": 0,
- "email": "string",
- "name": "string",
- "email_verified": true,
- "oauth2_user": true,
- "oauth2_provider": "google",
- "created_at": 0,
- "updated_at": 0
}, - "relationships": {
- "tokens": {
- "data": {
- "type": "string"
}
}
}
}, - "included": [
- {
- "type": "string",
- "attributes": {
- "access": "string",
- "expires_at": 0
}
}
]
}
Recover password using password recovery token.
required | object (RecoverPassword) |
{- "data": {
- "type": "string",
- "attributes": {
- "token": "string",
- "new_password": "string"
}
}
}
{- "data": {
- "id": "string",
- "type": "string",
- "attributes": {
- "author_id": 0,
- "email": "string",
- "name": "string",
- "email_verified": true,
- "oauth2_user": true,
- "oauth2_provider": "google",
- "created_at": 0,
- "updated_at": 0
}, - "relationships": {
- "tokens": {
- "data": {
- "type": "string"
}
}
}
}
}
required | object (Email) |
{- "data": {
- "type": "email",
- "attributes": {
- "email": "string"
}
}
}
{- "data": {
- "type": "email",
- "attributes": {
- "email": "string"
}
}
}
Extracts refresh token from cookie and in case it exists and is legit, rotates it and creates access token.
{ }
{- "data": {
- "type": "string",
- "attributes": {
- "access": "string",
- "expires_at": 0
}
}
}
required | object (SignUpUser) |
{- "data": {
- "type": "string",
- "attributes": {
- "name": "string",
- "email": "string",
- "password": "string"
}
}
}
{- "data": {
- "id": "string",
- "type": "string",
- "attributes": {
- "author_id": 0,
- "email": "string",
- "name": "string",
- "email_verified": true,
- "oauth2_user": true,
- "oauth2_provider": "google",
- "created_at": 0,
- "updated_at": 0
}, - "relationships": {
- "tokens": {
- "data": {
- "type": "string"
}
}
}
}
}
Verify email when user clicks on link in verification email.
required | object (EmailToken) |
{- "data": {
- "type": "string",
- "attributes": {
- "token": "string"
}
}
}
{- "data": {
- "id": "string",
- "type": "string",
- "attributes": {
- "author_id": 0,
- "email": "string",
- "name": "string",
- "email_verified": true,
- "oauth2_user": true,
- "oauth2_provider": "google",
- "created_at": 0,
- "updated_at": 0
}, - "relationships": {
- "tokens": {
- "data": {
- "type": "string"
}
}
}
}
}
required | object (Email) |
{- "data": {
- "type": "email",
- "attributes": {
- "email": "string"
}
}
}
{- "data": {
- "type": "email",
- "attributes": {
- "email": "string"
}
}
}
required | object (CreatePost) |
{- "data": {
- "type": "string",
- "attributes": {
- "title": "string",
- "body": "string"
}
}
}
{- "data": {
- "id": "string",
- "type": "string",
- "attributes": {
- "title": "string",
- "body": "string",
- "tx_hash": "string",
- "tx_timestamp": 0,
- "starred": true,
- "status": "new"
}, - "relationships": {
- "author": {
- "data": {
- "id": "string",
- "type": "string"
}
}
}
}, - "included": [
- {
- "id": "string",
- "type": "string",
- "attributes": {
- "author_id": 0,
- "email": "string",
- "name": "string",
- "email_verified": true,
- "oauth2_user": true,
- "oauth2_provider": "google",
- "created_at": 0,
- "updated_at": 0
}, - "relationships": {
- "tokens": {
- "data": {
- "type": "string"
}
}
}
}
]
}
{- "data": {
- "id": "string",
- "type": "string",
- "attributes": {
- "title": "string",
- "body": "string",
- "tx_hash": "string",
- "tx_timestamp": 0,
- "starred": true,
- "status": "new"
}, - "relationships": {
- "author": {
- "data": {
- "id": "string",
- "type": "string"
}
}
}
}, - "included": [
- {
- "id": "string",
- "type": "string",
- "attributes": {
- "author_id": 0,
- "email": "string",
- "name": "string",
- "email_verified": true,
- "oauth2_user": true,
- "oauth2_provider": "google",
- "created_at": 0,
- "updated_at": 0
}, - "relationships": {
- "tokens": {
- "data": {
- "type": "string"
}
}
}
}
]
}
limit | integer >= 1 Default: 15 |
cursor | integer >= 0 Default: 2147483647 |
sorting | string Default: "desc" Enum: "asc" "desc" |
author[id] | integer >= 1 |
{- "data": [
- {
- "id": "string",
- "type": "string",
- "attributes": {
- "title": "string",
- "tx_hash": "string",
- "tx_timestamp": 0,
- "starred": true,
- "status": "new"
}, - "relationships": {
- "author": {
- "data": {
- "id": "string",
- "type": "string"
}
}
}
}
], - "included": [
- {
- "id": "string",
- "type": "string",
- "attributes": {
- "author_id": 0,
- "email": "string",
- "name": "string",
- "email_verified": true,
- "oauth2_user": true,
- "oauth2_provider": "google",
- "created_at": 0,
- "updated_at": 0
}, - "relationships": {
- "tokens": {
- "data": {
- "type": "string"
}
}
}
}
]
}
limit | integer >= 1 Default: 15 |
cursor | integer >= 0 Default: 2147483647 |
sorting | string Default: "desc" Enum: "asc" "desc" |
post[status] | string Default: "confirmed" Enum: "new" "pending" "confirmed" "failed" |
{- "data": [
- {
- "id": "string",
- "type": "string",
- "attributes": {
- "title": "string",
- "tx_hash": "string",
- "tx_timestamp": 0,
- "starred": true,
- "status": "new"
}, - "relationships": {
- "author": {
- "data": {
- "id": "string",
- "type": "string"
}
}
}
}
], - "included": [
- {
- "id": "string",
- "type": "string",
- "attributes": {
- "author_id": 0,
- "email": "string",
- "name": "string",
- "email_verified": true,
- "oauth2_user": true,
- "oauth2_provider": "google",
- "created_at": 0,
- "updated_at": 0
}, - "relationships": {
- "tokens": {
- "data": {
- "type": "string"
}
}
}
}
]
}
required | object (EditUser) |
{- "data": {
- "type": "string",
- "attributes": {
- "new_name": "string"
}
}
}
{- "data": {
- "id": "string",
- "type": "string",
- "attributes": {
- "author_id": 0,
- "email": "string",
- "name": "string",
- "email_verified": true,
- "oauth2_user": true,
- "oauth2_provider": "google",
- "created_at": 0,
- "updated_at": 0
}, - "relationships": {
- "tokens": {
- "data": {
- "type": "string"
}
}
}
}, - "included": [
- {
- "type": "string",
- "attributes": {
- "access": "string",
- "expires_at": 0
}
}
]
}
required | object (PostKey) |
{- "data": {
- "id": "string",
- "type": "string"
}
}
{- "data": {
- "id": "string",
- "type": "string"
}
}
limit | integer >= 1 Default: 15 |
cursor | integer >= 0 Default: 2147483647 |
sorting | string Default: "desc" Enum: "asc" "desc" |
author[id] | integer >= 1 |
{- "data": [
- {
- "id": "string",
- "type": "string",
- "attributes": {
- "title": "string",
- "tx_hash": "string",
- "tx_timestamp": 0,
- "starred": true,
- "status": "new"
}, - "relationships": {
- "author": {
- "data": {
- "id": "string",
- "type": "string"
}
}
}
}
], - "included": [
- {
- "id": "string",
- "type": "string",
- "attributes": {
- "author_id": 0,
- "email": "string",
- "name": "string",
- "email_verified": true,
- "oauth2_user": true,
- "oauth2_provider": "google",
- "created_at": 0,
- "updated_at": 0
}, - "relationships": {
- "tokens": {
- "data": {
- "type": "string"
}
}
}
}
]
}
{- "data": {
- "id": "string",
- "type": "string",
- "attributes": {
- "author_id": 0,
- "email": "string",
- "name": "string",
- "email_verified": true,
- "oauth2_user": true,
- "oauth2_provider": "google",
- "created_at": 0,
- "updated_at": 0
}, - "relationships": {
- "tokens": {
- "data": {
- "type": "string"
}
}
}
}
}