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

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 (Common.Types.Nanoid)
Example: cursor=V1StGXR8_Z5jdHi6B-myT
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "V1StGXR8_Z5jdHi6B-myT",
  • "last": "V1StGXR8_Z5jdHi6B-myT",
  • "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 (Common.Types.Nanoid)
Example: cursor=V1StGXR8_Z5jdHi6B-myT
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "V1StGXR8_Z5jdHi6B-myT",
  • "last": "V1StGXR8_Z5jdHi6B-myT",
  • "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 (Common.Types.Nanoid)
Example: cursor=V1StGXR8_Z5jdHi6B-myT
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "V1StGXR8_Z5jdHi6B-myT",
  • "last": "V1StGXR8_Z5jdHi6B-myT",
  • "items": [
    ]
}

Get follows

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

Default: 30

cursor
string (Common.Types.Nanoid)
Example: cursor=V1StGXR8_Z5jdHi6B-myT
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "V1StGXR8_Z5jdHi6B-myT",
  • "last": "V1StGXR8_Z5jdHi6B-myT",
  • "items": [
    ]
}

Mute_get

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

Default: 30

cursor
string (Common.Types.Nanoid)
Example: cursor=V1StGXR8_Z5jdHi6B-myT
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "V1StGXR8_Z5jdHi6B-myT",
  • "last": "V1StGXR8_Z5jdHi6B-myT",
  • "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 (Common.Types.Nanoid)
Example: cursor=V1StGXR8_Z5jdHi6B-myT
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "V1StGXR8_Z5jdHi6B-myT",
  • "last": "V1StGXR8_Z5jdHi6B-myT",
  • "items": [
    ]
}

Suspend_get

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

Default: 30

cursor
string (Common.Types.Nanoid)
Example: cursor=V1StGXR8_Z5jdHi6B-myT
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "V1StGXR8_Z5jdHi6B-myT",
  • "last": "V1StGXR8_Z5jdHi6B-myT",
  • "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 (Common.Types.Nanoid)
Example: cursor=V1StGXR8_Z5jdHi6B-myT
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 (Common.Types.Nanoid)
Example: cursor=V1StGXR8_Z5jdHi6B-myT
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": "V1StGXR8_Z5jdHi6B-myT",
  • "last": "V1StGXR8_Z5jdHi6B-myT",
  • "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 (Common.Types.Nanoid)
Example: cursor=V1StGXR8_Z5jdHi6B-myT
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "V1StGXR8_Z5jdHi6B-myT",
  • "last": "V1StGXR8_Z5jdHi6B-myT",
  • "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 (Common.Types.Nanoid)
Example: cursor=V1StGXR8_Z5jdHi6B-myT
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "V1StGXR8_Z5jdHi6B-myT",
  • "last": "V1StGXR8_Z5jdHi6B-myT",
  • "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 (Common.Types.Nanoid)
Example: cursor=V1StGXR8_Z5jdHi6B-myT
direction
string
Default: "next"
Enum: "next" "prev"

Direction of the cursor

Responses

Response samples

Content type
application/json
{
  • "first": "V1StGXR8_Z5jdHi6B-myT",
  • "last": "V1StGXR8_Z5jdHi6B-myT",
  • "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
"V1StGXR8_Z5jdHi6B-myT"

Update a metadata

Authorizations:
BearerAuth
path Parameters
id
required
string (API.MetadataAPI.MetadataId)
Example: V1StGXR8_Z5jdHi6B-myT
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 (API.MetadataAPI.MetadataId)
Example: V1StGXR8_Z5jdHi6B-myT

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 Common.Types.IRI (string) or objects) or Common.Types.IRI (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 Common.Types.IRI (string) or objects) or Common.Types.IRI (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
{}