Emumet REST API (v1)
Download OpenAPI specification:Download
Get all your accounts
Authorizations:
BearerAuth
query Parameters
limit | integer [ 1 .. 100 ] Default: 5 |
cursor | |
direction | string Default: "next" Enum: "next" "prev" Direction of the cursor |
Responses
Response samples
- 200
Content type
application/json
{- "first": "V1StGXR8_Z5jdHi6B-myT",
- "last": "V1StGXR8_Z5jdHi6B-myT",
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "publicKey": "string",
- "is_bot": true,
- "created_at": "string"
}
]
}
Create a new account
Authorizations:
BearerAuth
Request Body schema: application/jsonrequired
name required | string |
is_bot required | boolean |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "is_bot": true
}
Response samples
- 200
Content type
application/json
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
Block_get
Authorizations:
BearerAuth
path Parameters
id required | string <uuid> (API.AccountAPI.AccountId) |
query Parameters
limit | integer [ 1 .. 100 ] Default: 30 |
cursor | |
direction | string Default: "next" Enum: "next" "prev" Direction of the cursor |
Responses
Response samples
- 200
Content type
application/json
{- "first": "V1StGXR8_Z5jdHi6B-myT",
- "last": "V1StGXR8_Z5jdHi6B-myT",
- "items": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Block_post
Authorizations:
BearerAuth
path Parameters
id required | string <uuid> (API.AccountAPI.AccountId) |
Request Body schema: application/jsonrequired
target required | string <uuid> (API.AccountAPI.AccountId) |
Responses
Request samples
- Payload
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/jsonrequired
target required | string <uuid> (API.AccountAPI.AccountId) |
Responses
Request samples
- Payload
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 | |
direction | string Default: "next" Enum: "next" "prev" Direction of the cursor |
Responses
Response samples
- 200
Content type
application/json
{- "first": "V1StGXR8_Z5jdHi6B-myT",
- "last": "V1StGXR8_Z5jdHi6B-myT",
- "items": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Get follows
Authorizations:
BearerAuth
path Parameters
id required | string <uuid> (API.AccountAPI.AccountId) |
query Parameters
limit | integer [ 1 .. 100 ] Default: 30 |
cursor | |
direction | string Default: "next" Enum: "next" "prev" Direction of the cursor |
Responses
Response samples
- 200
Content type
application/json
{- "first": "V1StGXR8_Z5jdHi6B-myT",
- "last": "V1StGXR8_Z5jdHi6B-myT",
- "items": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Mute_get
Authorizations:
BearerAuth
path Parameters
id required | string <uuid> (API.AccountAPI.AccountId) |
query Parameters
limit | integer [ 1 .. 100 ] Default: 30 |
cursor | |
direction | string Default: "next" Enum: "next" "prev" Direction of the cursor |
Responses
Response samples
- 200
Content type
application/json
{- "first": "V1StGXR8_Z5jdHi6B-myT",
- "last": "V1StGXR8_Z5jdHi6B-myT",
- "items": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Mute_post
Authorizations:
BearerAuth
path Parameters
id required | string <uuid> (API.AccountAPI.AccountId) |
Request Body schema: application/jsonrequired
target required | string <uuid> (API.AccountAPI.AccountId) |
Responses
Request samples
- Payload
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/jsonrequired
target required | string <uuid> (API.AccountAPI.AccountId) |
Responses
Request samples
- Payload
Content type
application/json
{- "target": "65a17d54-9c67-4477-8b80-d3f97e165aa5"
}
Get all of accounts in this service
Authorizations:
BearerAuth
query Parameters
limit | integer [ 1 .. 100 ] Default: 30 |
cursor | |
direction | string Default: "next" Enum: "next" "prev" Direction of the cursor |
Responses
Response samples
- 200
Content type
application/json
{- "first": "V1StGXR8_Z5jdHi6B-myT",
- "last": "V1StGXR8_Z5jdHi6B-myT",
- "items": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Suspend_get
Authorizations:
BearerAuth
path Parameters
id required | string <uuid> (API.AccountAPI.AccountId) |
query Parameters
limit | integer [ 1 .. 100 ] Default: 30 |
cursor | |
direction | string Default: "next" Enum: "next" "prev" Direction of the cursor |
Responses
Response samples
- 200
Content type
application/json
{- "first": "V1StGXR8_Z5jdHi6B-myT",
- "last": "V1StGXR8_Z5jdHi6B-myT",
- "items": [
- {
- "comment": "string",
- "moderated_by": "b5ff5733-153d-4f92-92d8-027f60e34e2a",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}
Block_get
Authorizations:
BearerAuth
query Parameters
limit | integer [ 1 .. 100 ] Default: 30 |
cursor | |
direction | string Default: "next" Enum: "next" "prev" Direction of the cursor |
Responses
Response samples
- 200
Content type
application/json
{- "host": {
- "first": "V1StGXR8_Z5jdHi6B-myT",
- "last": "V1StGXR8_Z5jdHi6B-myT",
- "items": [
- {
- "comment": "string",
- "moderated_by": "b5ff5733-153d-4f92-92d8-027f60e34e2a",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}
}
Operators_get
Authorizations:
BearerAuth
query Parameters
limit | integer [ 1 .. 100 ] Default: 30 |
cursor | |
direction | string Default: "next" Enum: "next" "prev" Direction of the cursor |
target_role | string (API.AdminAPI.Stellar.Operators.RoleName) |
Responses
Response samples
- 200
Content type
application/json
{- "first": "V1StGXR8_Z5jdHi6B-myT",
- "last": "V1StGXR8_Z5jdHi6B-myT",
- "items": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Accounts_get
Authorizations:
BearerAuth
query Parameters
limit | integer [ 1 .. 100 ] Default: 30 |
cursor | |
direction | string Default: "next" Enum: "next" "prev" Direction of the cursor |
Responses
Response samples
- 200
Content type
application/json
{- "first": "V1StGXR8_Z5jdHi6B-myT",
- "last": "V1StGXR8_Z5jdHi6B-myT",
- "items": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Hosts_get
Authorizations:
BearerAuth
query Parameters
limit | integer [ 1 .. 100 ] Default: 30 |
cursor | |
direction | string Default: "next" Enum: "next" "prev" Direction of the cursor |
Responses
Response samples
- 200
Content type
application/json
{- "first": "V1StGXR8_Z5jdHi6B-myT",
- "last": "V1StGXR8_Z5jdHi6B-myT",
- "items": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Get follow requests
Authorizations:
BearerAuth
path Parameters
account_id required | string <uuid> (API.AccountAPI.AccountId) |
query Parameters
limit | integer [ 1 .. 100 ] Default: 30 |
cursor | |
direction | string Default: "next" Enum: "next" "prev" Direction of the cursor |
Responses
Response samples
- 200
Content type
application/json
{- "first": "V1StGXR8_Z5jdHi6B-myT",
- "last": "V1StGXR8_Z5jdHi6B-myT",
- "items": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Create a new metadata
Authorizations:
BearerAuth
path Parameters
id required | string <uuid> (API.AccountAPI.AccountId) |
Request Body schema: application/jsonrequired
name required | string |
description required | string |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "description": "string"
}
Response samples
- 200
Content type
application/json
"V1StGXR8_Z5jdHi6B-myT"
Response samples
- 200
Content type
application/activity+json; charset=utf-8
{- "type": "Person",
- "preferredUsername": "string",
- "summary": "string",
- "manuallyApprovesFollowers": true,
- "discoverable": true,
- "publicKey": {
- "type": "Key",
- "publicKeyPem": "string"
}, - "attachment": [
- {
- "type": "PropertyValue",
- "name": "string",
- "value": "string"
}
], - "image": {
- "type": "Image",
- "mediaType": "image/png",
- "sensitive": false,
- "name": "string"
}, - "icon": {
- "type": "Image",
- "mediaType": "image/png",
- "sensitive": false,
- "name": "string"
}
}
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
- 200
Content type
application/activity+json; charset=utf-8
Example
{- "totalItems": 0,
- "type": "OrderedCollection",
}
Inbox_post
path Parameters
id required | string <uuid> (UserAPI.UserId) |
header Parameters
signature required | string |
authorization | string |
Request Body schema: application/jsonrequired
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
- Payload
Content type
application/json
Example
{- "type": "string",
}
Outbox_post
path Parameters
id required | string <uuid> (UserAPI.UserId) |
header Parameters
signature required | string |
authorization | string |
Request Body schema: application/jsonrequired
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
- Payload
Content type
application/json
Example
{- "type": "string",
}