メインコンテンツまでスキップ

Emumet REST API (v1)

Download OpenAPI specification:Download

account

Get all your accounts

Authorizations:
BearerAuth
query Parameters
limit
integer [ 1 .. 100 ]

Default: 5

cursor
string <uuid> (Common.ULID)
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "2fa1275f-16fc-4c83-ad1d-bd5fae716244",
  • "last": "7ee24cab-37fe-451b-82f6-65831f7c105f",
  • "items": [
    ]
}

Create a new account

Authorizations:
BearerAuth
Request Body schema: application/json
required
name
required
string
is_bot
required
boolean

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "is_bot": true
}

Response samples

Content type
application/json
"497f6eca-6276-4993-bfeb-53cbbbba6f08"

Get an account

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "publicKey": "string",
  • "is_bot": true,
  • "created_at": "string"
}

Delete an account

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)

Responses

Block_get

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)
query Parameters
limit
integer [ 1 .. 100 ]

Default: 30

cursor
string <uuid> (Common.ULID)
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "2fa1275f-16fc-4c83-ad1d-bd5fae716244",
  • "last": "7ee24cab-37fe-451b-82f6-65831f7c105f",
  • "items": [
    ]
}

Block_post

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)
Request Body schema: application/json
required
target
required
string <uuid> (API.AccountAPI.AccountId)

Responses

Request samples

Content type
application/json
{
  • "target": "65a17d54-9c67-4477-8b80-d3f97e165aa5"
}

Block_delete

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)
Request Body schema: application/json
required
target
required
string <uuid> (API.AccountAPI.AccountId)

Responses

Request samples

Content type
application/json
{
  • "target": "65a17d54-9c67-4477-8b80-d3f97e165aa5"
}

Get followers

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)
query Parameters
limit
integer [ 1 .. 100 ]

Default: 30

cursor
string <uuid> (Common.ULID)
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "2fa1275f-16fc-4c83-ad1d-bd5fae716244",
  • "last": "7ee24cab-37fe-451b-82f6-65831f7c105f",
  • "items": [
    ]
}

Get follows

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)
query Parameters
limit
integer [ 1 .. 100 ]

Default: 30

cursor
string <uuid> (Common.ULID)
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "2fa1275f-16fc-4c83-ad1d-bd5fae716244",
  • "last": "7ee24cab-37fe-451b-82f6-65831f7c105f",
  • "items": [
    ]
}

Mute_get

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)
query Parameters
limit
integer [ 1 .. 100 ]

Default: 30

cursor
string <uuid> (Common.ULID)
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "2fa1275f-16fc-4c83-ad1d-bd5fae716244",
  • "last": "7ee24cab-37fe-451b-82f6-65831f7c105f",
  • "items": [
    ]
}

Mute_post

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)
Request Body schema: application/json
required
target
required
string <uuid> (API.AccountAPI.AccountId)

Responses

Request samples

Content type
application/json
{
  • "target": "65a17d54-9c67-4477-8b80-d3f97e165aa5"
}

Mute_delete

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)
Request Body schema: application/json
required
target
required
string <uuid> (API.AccountAPI.AccountId)

Responses

Request samples

Content type
application/json
{
  • "target": "65a17d54-9c67-4477-8b80-d3f97e165aa5"
}

admin

Get all of accounts in this service

Authorizations:
BearerAuth
query Parameters
limit
integer [ 1 .. 100 ]

Default: 30

cursor
string <uuid> (Common.ULID)
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "2fa1275f-16fc-4c83-ad1d-bd5fae716244",
  • "last": "7ee24cab-37fe-451b-82f6-65831f7c105f",
  • "items": [
    ]
}

Suspend_get

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)
query Parameters
limit
integer [ 1 .. 100 ]

Default: 30

cursor
string <uuid> (Common.ULID)
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "2fa1275f-16fc-4c83-ad1d-bd5fae716244",
  • "last": "7ee24cab-37fe-451b-82f6-65831f7c105f",
  • "items": [
    ]
}

Suspend_post

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)
Request Body schema: application/json
required
comment
required
string

Responses

Request samples

Content type
application/json
{
  • "comment": "string"
}

Suspend_delete

Unsuspend account

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)

Responses

Block_get

Authorizations:
BearerAuth
query Parameters
limit
integer [ 1 .. 100 ]

Default: 30

cursor
string <uuid> (Common.ULID)
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "host": {
    }
}

Block_post

Authorizations:
BearerAuth
Request Body schema: application/json
required
required
object (API.AdminAPI.Stellar.StellarBlockRequest)
comment
required
string
host
required
string <uri>

Responses

Request samples

Content type
application/json
{}

Block_delete

Authorizations:
BearerAuth
Request Body schema: application/json
required
host
required
string <uri>

Responses

Request samples

Content type
application/json
{}

Operators_get

Authorizations:
BearerAuth
query Parameters
limit
integer [ 1 .. 100 ]

Default: 30

cursor
string <uuid> (Common.ULID)
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

target_role
string (API.AdminAPI.Stellar.Operators.RoleName)

Responses

Response samples

Content type
application/json
{
  • "first": "2fa1275f-16fc-4c83-ad1d-bd5fae716244",
  • "last": "7ee24cab-37fe-451b-82f6-65831f7c105f",
  • "items": [
    ]
}

Operator_get

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.StellarAPI.StellarId)

Responses

Response samples

Content type
application/json
{
  • "role": "string"
}

Operator_post

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.StellarAPI.StellarId)
Request Body schema: application/json
required
role
required
string (API.AdminAPI.Stellar.Operators.RoleName)

Responses

Request samples

Content type
application/json
{
  • "role": "string"
}

Operator_delete

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.StellarAPI.StellarId)

Responses

stellar

Accounts_get

Authorizations:
BearerAuth
query Parameters
limit
integer [ 1 .. 100 ]

Default: 30

cursor
string <uuid> (Common.ULID)
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "2fa1275f-16fc-4c83-ad1d-bd5fae716244",
  • "last": "7ee24cab-37fe-451b-82f6-65831f7c105f",
  • "items": [
    ]
}

Accounts_getAccount

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.StellarAPI.StellarId)

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b"
}

Hosts_get

Authorizations:
BearerAuth
query Parameters
limit
integer [ 1 .. 100 ]

Default: 30

cursor
string <uuid> (Common.ULID)
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "2fa1275f-16fc-4c83-ad1d-bd5fae716244",
  • "last": "7ee24cab-37fe-451b-82f6-65831f7c105f",
  • "items": [
    ]
}

Hosts_getHost

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.StellarAPI.HostId)

Responses

Response samples

Content type
application/json
{}

follow_request

Get follow requests

Authorizations:
BearerAuth
path Parameters
account_id
required
string <uuid> (API.AccountAPI.AccountId)
query Parameters
limit
integer [ 1 .. 100 ]

Default: 30

cursor
string <uuid> (Common.ULID)
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "2fa1275f-16fc-4c83-ad1d-bd5fae716244",
  • "last": "7ee24cab-37fe-451b-82f6-65831f7c105f",
  • "items": [
    ]
}

Follow(request or accept) user

Authorizations:
BearerAuth
path Parameters
account_id
required
string <uuid> (API.AccountAPI.AccountId)
target_id
required
string <uuid> (API.AccountAPI.AccountId)

Responses

Unfollow(or reject) user

Authorizations:
BearerAuth
path Parameters
account_id
required
string <uuid> (API.AccountAPI.AccountId)
target_id
required
string <uuid> (API.AccountAPI.AccountId)

Responses

metadata

Get all metadatas

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new metadata

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)
Request Body schema: application/json
required
name
required
string
description
required
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "description": "string"
}

Response samples

Content type
application/json
"497f6eca-6276-4993-bfeb-53cbbbba6f08"

Update a metadata

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.MetadataAPI.MetadataId)
Request Body schema: application/json
required
name
string
description
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "description": "string"
}

Delete a metadata

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.MetadataAPI.MetadataId)

Responses

profile

Get a profile

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)

Responses

Response samples

Content type
application/json
{}

Create a profile

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)
Request Body schema: multipart/form-data
required
display_name
required
string
summary
required
string
icon
required
string <binary>
banner
required
string <binary>

Responses

Update a profile

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (API.AccountAPI.AccountId)
Request Body schema: multipart/form-data
required
display_name
string
summary
string
icon
string <binary>
banner
string <binary>

Responses

user

Get a user from id

path Parameters
id
required
string <uuid> (UserAPI.UserId)

Responses

Response samples

Content type
application/activity+json; charset=utf-8
{}

Inbox_get

Returns received activities

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid> (UserAPI.UserId)
query Parameters
page
boolean
since_id
string
until_id
string

Responses

Response samples

Content type
application/activity+json; charset=utf-8
Example
{}

Inbox_post

path Parameters
id
required
string <uuid> (UserAPI.UserId)
header Parameters
signature
required
string
authorization
string
Request Body schema: application/json
required
Any of
type
required
string
id
required
string <uri>
required
(Array of (string or strings) or objects) or (string or string) or object

Responses

Request samples

Content type
application/json
Example
{}

Outbox_get

Returns actor activities

path Parameters
id
required
string <uuid> (UserAPI.UserId)
query Parameters
page
boolean
since_id
string
until_id
string

Responses

Response samples

Content type
application/activity+json; charset=utf-8
Example
{}

Outbox_post

path Parameters
id
required
string <uuid> (UserAPI.UserId)
header Parameters
signature
required
string
authorization
string
Request Body schema: application/json
required
Any of
type
required
string
id
required
string <uri>
required
(Array of (string or strings) or objects) or (string or string) or object

Responses

Request samples

Content type
application/json
Example
{}

webfinger

Webfinger_get

The WebFinger query

query Parameters
required
string or string

The resource to query

Responses

Response samples

Content type
application/jrd+json; charset=utf-8
{}