Signup
新規アカウントを作成します
Request Body schema: application/json
| account_name | string |
string | |
| password | string |
Responses
Request samples
- Payload
Content type
application/json
{- "account_name": "shuttlepub",
- "mail": "examplemail@shuttle.pub",
- "password": "*********"
}Response samples
- 200
Content type
application/json
{- "accountId": 6446348271139192,
- "token": "*************************"
}Request samples
- Payload
Content type
application/json
{- "mail": "examplemail@shuttle.pub",
- "password": "********"
}Response samples
- 200
Content type
application/json
{- "accountId": 6446348271139192,
- "token": "*************************"
}Get profile
対象のプロフィールを取得します
path Parameters
| target required | string The name or id of the user |
Responses
Response samples
- 200
Content type
application/json
{- "id": 0,
- "account": 6446348271139192,
- "display_name": "shuttlepub",
- "summary": "A Blazing Fast Fediverse MicroBlog",
- "created_at": "2023-02-06",
- "meta": [
- {
- "id": 0,
- "label": "page",
- "content": "shuttle.pub"
}
]
}Update profile
対象のプロフィールを更新します
path Parameters
| target required | string The name or id of the user |
header Parameters
| token required | string Example: ****************** User token |
Request Body schema: application/jsonrequired
| display_name | string |
| summary | string |
| icon | string |
| banner | string |
Array of objects (Profile-meta) |
Responses
Request samples
- Payload
Content type
application/json
{- "display_name": "shuttlepub",
- "summary": "A Blazing Fast Fediverse MicroBlog",
- "meta": [
- {
- "id": 0,
- "label": "page",
- "content": "shuttle.pub"
}
]
}Response samples
- 200
Content type
application/json
{- "id": 0,
- "account": 6446348271139192,
- "display_name": "shuttlepub",
- "summary": "A Blazing Fast Fediverse MicroBlog",
- "created_at": "2023-02-06",
- "meta": [
- {
- "id": 0,
- "label": "page",
- "content": "shuttle.pub"
}
]
}