Download OpenAPI specification:
Momentum REST API
Returns OK when a signature has been validated
body params
| network | string |
| signedChallenge required | string |
| wallet required | string |
{- "network": "string",
- "signedChallenge": "string",
- "wallet": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}{- "createdAt": "string",
- "id": "string",
- "isGuest": true,
- "name": "string",
- "profile": {
- "avatarHash": "string",
- "bio": "string",
- "location": "string",
- "profileLink": "string"
}, - "token": "string",
- "updatedAt": "string",
- "userTypeId": "string",
- "wallet": "string"
}Returns a new generated token based on params
body params
| network | string |
| signedChallenge required | string |
| wallet required | string |
{- "network": "string",
- "signedChallenge": "string",
- "wallet": "string"
}{- "token": "string"
}Remove wallet
body params
| wallet required | string |
{- "wallet": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Edits a user profile
body params
| name | string |
object |
{- "name": "string",
- "profile": {
- "avatarHash": "string",
- "bio": "string",
- "location": "string",
- "profileLink": "string"
}
}{- "job_id": "string",
- "user_id": "string"
}Sets a user user attribute based on UserID and TargetID
| user_id required | string User UMID |
| target_id required | string Target user UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
| sub_attribute_value required | any |
{- "attribute_name": "string",
- "plugin_id": "string",
- "sub_attribute_key": "string",
- "sub_attribute_value": null
}{- "property1": null,
- "property2": null
}{- "createdAt": "string",
- "id": "string",
- "isGuest": true,
- "name": "string",
- "profile": {
- "avatarHash": "string",
- "bio": "string",
- "location": "string",
- "profileLink": "string"
}, - "token": "string",
- "updatedAt": "string",
- "userTypeId": "string",
- "wallet": "string"
}[- {
- "amount": "string",
- "avatar_hash": "string",
- "blockchain_id": "string",
- "kind": 0,
- "last_comment": "string",
- "name": "string",
- "object_id": "string",
- "reward": "string",
- "updated_at": "string",
- "wallet_id": "string"
}
]Add pending transaction
body params
| amount required | string |
| comment required | string |
| kind required | string |
| odyssey_id required | string |
| transaction_id required | string |
| wallet required | string |
{- "amount": "string",
- "comment": "string",
- "kind": "string",
- "odyssey_id": "string",
- "transaction_id": "string",
- "wallet": "string"
}{- "success": true
}[- {
- "balance": "string",
- "blockchain_name": "string",
- "contract_id": "string",
- "reward": "string",
- "staked": "string",
- "transferable": "string",
- "unbonding": "string",
- "updated_at": "string",
- "wallet_id": "string"
}
]Creates mutual worlds portals and worlds admin permissions
body params
| walletA required | string |
| walletB required | string |
{- "walletA": "string",
- "walletB": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Removes mutual worlds portals and worlds admin permissions
body params
| walletA required | string |
| walletB required | string |
{- "walletA": "string",
- "walletB": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Returns user information based on a search query
{- "id": "string",
- "name": "string",
- "profile": {
- "avatarHash": "string",
- "bio": "string",
- "location": "string",
- "profileLink": "string"
}, - "wallet": "string"
}Returns user profile based on UserID
| user_id required | string User UMID |
{- "createdAt": "string",
- "id": "string",
- "isGuest": true,
- "name": "string",
- "profile": {
- "avatarHash": "string",
- "bio": "string",
- "location": "string",
- "profileLink": "string"
}, - "token": "string",
- "updatedAt": "string",
- "userTypeId": "string",
- "wallet": "string"
}Sets entire user attribute
| user_id required | string User UMID |
body params
| attribute_name required | string |
required | object |
| plugin_id required | string |
{- "attribute_name": "string",
- "attribute_value": {
- "property1": null,
- "property2": null
}, - "plugin_id": "string"
}{- "property1": null,
- "property2": null
}Deletes a user attribute
| user_id required | string User UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
{- "attribute_name": "string",
- "plugin_id": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Returns user sub attributes
| user_id required | string User UMID |
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
{- "property1": null,
- "property2": null
}Sets a user sub attribute
| user_id required | string User UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
| sub_attribute_value required | any |
{- "attribute_name": "string",
- "plugin_id": "string",
- "sub_attribute_key": "string",
- "sub_attribute_value": null
}{- "property1": null,
- "property2": null
}Deletes a user sub attribute
| user_id required | string User UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
{- "attribute_name": "string",
- "plugin_id": "string",
- "sub_attribute_key": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Returns a list of staked Worlds for a user
| user_id required | string User UMID |
[- {
- "avatarHash": "string",
- "description": "string",
- "id": "string",
- "name": "string",
- "owner_id": "string",
- "website_link": "string"
}
]Returns a list of owned Worlds for a user
| user_id required | string User UMID |
[- {
- "avatarHash": "string",
- "description": "string",
- "id": "string",
- "name": "string",
- "owner_id": "string",
- "owner_name": "string",
- "website_link": "string"
}
]Edits a user profile
body params
| name | string |
object |
{- "name": "string",
- "profile": {
- "avatarHash": "string",
- "bio": "string",
- "location": "string",
- "profileLink": "string"
}
}{- "job_id": "string",
- "user_id": "string"
}Returns a world by ID and its details
| object_id required | string World UMID |
[- {
- "avatarHash": "string",
- "createdAt": "string",
- "description": "string",
- "id": "string",
- "is_admin": true,
- "last_staking_comment": "string",
- "name": "string",
- "owner_id": "string",
- "owner_name": "string",
- "stake_total": "string",
- "stakers": [
- {
- "avatarHash": "string",
- "name": "string",
- "stake": "string",
- "user_id": "string"
}
], - "updatedAt": "string",
- "website_link": "string"
}
]Returns updates world with new data
| object_id required | string World UMID |
[- {
- "createdAt": "string",
- "id": "string",
- "isGuest": true,
- "name": "string",
- "profile": {
- "avatarHash": "string",
- "bio": "string",
- "location": "string",
- "profileLink": "string"
}, - "token": "string",
- "updatedAt": "string",
- "userTypeId": "string",
- "wallet": "string"
}
]Returns a list of online users for specified world
| object_id required | string World UMID |
[- {
- "createdAt": "string",
- "id": "string",
- "isGuest": true,
- "name": "string",
- "profile": {
- "avatarHash": "string",
- "bio": "string",
- "location": "string",
- "profileLink": "string"
}, - "token": "string",
- "updatedAt": "string",
- "userTypeId": "string",
- "wallet": "string"
}
]Returns object information and one level of children based on world_id (used in explore widget)
| world_id required | string World UMID |
| objectID required | string |
{- "description": "string",
- "id": "string",
- "name": "string"
}Creates a object base on body
body params
| asset_2d_id | string |
| asset_3d_id | string |
| minimap | boolean |
| object_name required | string |
| object_type_id required | string |
| parent_id required | string |
object (cmath.Transform) |
{- "asset_2d_id": "string",
- "asset_3d_id": "string",
- "minimap": true,
- "object_name": "string",
- "object_type_id": "string",
- "parent_id": "string",
- "transform": {
- "position": {
- "x": 0,
- "y": 0,
- "z": 0
}, - "rotation": {
- "x": 0,
- "y": 0,
- "z": 0
}, - "scale": {
- "x": 0,
- "y": 0,
- "z": 0
}
}
}{- "object_id": "string"
}Returns a object info based on UMID and query
| object_id required | string Object UMID |
| effective | boolean |
{- "asset_2d_id": "string",
- "asset_3d_id": "string",
- "object_type_id": "string",
- "owner_id": "string",
- "parent_id": "string",
- "transform": {
- "position": {
- "x": 0,
- "y": 0,
- "z": 0
}, - "rotation": {
- "x": 0,
- "y": 0,
- "z": 0
}, - "scale": {
- "x": 0,
- "y": 0,
- "z": 0
}
}
}Updates a object by UMID, 're-parenting' not supported, returns updated object UMID.
| object_id required | string Object UMID |
body params
| asset_2d_id | string |
| asset_3d_id | string |
| object_name | string |
{- "asset_2d_id": "string",
- "asset_3d_id": "string",
- "object_name": "string"
}{- "object_id": "string"
}Returns an Agora token
| object_id required | string Object UMID |
body params
| screenshare | boolean |
{- "screenshare": true
}{- "channel": "string",
- "token": "string"
}Returns map with key as userID and value as Attribute Value
| object_id required | string Object UMID |
| attribute_name required | string |
| plugin_id required | string |
{- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}Allow showing a combined (sorted) list from all users. The attribute value is assumed to be a JSON (map-like) object, with some ID as key and the value nested JSON object. The fields params allows selecting some fields to directly return in the list. A field name given in the fields param can also be used as a query param to filter on value. The limit and offset params allow pagination. Limit defaults to 10, maximun allowed is 100.
| object_id required | string Object UMID |
| plugin_id required | string Plugin MID |
| attribute_name required | string Name of the plugin attribute |
| fields[] | Array of strings |
| limit | integer |
| offset | integer |
| order | string |
| q | string |
{- "count": 0,
- "items": [
- { }
], - "limit": 0,
- "offset": 0
}Returns the number of (non null) object user attributes.
| object_id required | string Object UMID |
| attribute_name required | string |
| plugin_id required | string |
| since | string |
{- "count": 0
}Sets entire object attribute
| object_id required | string Object UMID |
body params
| attribute_name required | string |
required | object |
| plugin_id required | string |
{- "attribute_name": "string",
- "attribute_value": {
- "property1": null,
- "property2": null
}, - "plugin_id": "string"
}{- "property1": null,
- "property2": null
}Deletes a object attribute
| object_id required | string Object UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
{- "attribute_name": "string",
- "plugin_id": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Returns object and all subobject attributes
| object_id required | string Object UMID |
| attribute_name required | string |
| plugin_id required | string |
{- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}Changes object permissions to be {"write":"user", "read":"any"}
| object_id required | string Object UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
{- "attribute_name": "string",
- "plugin_id": "string"
}{- "property1": null,
- "property2": null
}Returns object sub attributes
| object_id required | string Object UMID |
| attribute_name required | string |
| plugin_id required | string |
| subAttributeKey required | string |
{- "property1": null,
- "property2": null
}Sets a object sub attribute
| object_id required | string Object UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
| sub_attribute_value required | any |
{- "attribute_name": "string",
- "plugin_id": "string",
- "sub_attribute_key": "string",
- "sub_attribute_value": null
}{- "property1": null,
- "property2": null
}Deletes a object sub attribute
| object_id required | string Object UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
{- "attribute_name": "string",
- "plugin_id": "string",
- "sub_attribute_key": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Claim and customise object
| object_id required | string Object UMID |
body params
| image_hash required | string |
| text required | string |
| title required | string |
{- "image_hash": "string",
- "text": "string",
- "title": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Returns members belonging to the object
| object_id required | string Object UMID |
{- "avatar_hash": "string",
- "name": "string",
- "object_id": "string",
- "role": "string",
- "user_id": "string"
}Returns a object options based on object UMID and query
| object_id required | string Object UMID |
| effective | boolean |
{- "allowed_children": [
- "string"
], - "asset_2d_options": null,
- "asset_3d_options": null,
- "child_limit": 0,
- "child_placement": {
- "property1": {
- "algo": "string",
- "options": {
- "property1": null,
- "property2": null
}
}, - "property2": {
- "algo": "string",
- "options": {
- "property1": null,
- "property2": null
}
}
}, - "dashboard_plugins": [
- "string"
], - "default_tiles": [
- null
], - "editable": true,
- "frame_templates": {
- "property1": null,
- "property2": null
}, - "infoui_id": "string",
- "minimap": true,
- "private": true,
- "spawn_point": {
- "position": {
- "x": 0,
- "y": 0,
- "z": 0
}, - "rotation": {
- "x": 0,
- "y": 0,
- "z": 0
}
}, - "subs": {
- "property1": null,
- "property2": null
}, - "visible": 0
}Sets a object option by object UMID, returns appended object option.
| object_id required | string Object UMID |
{- "allowed_children": [
- "string"
], - "asset_2d_options": null,
- "asset_3d_options": null,
- "child_limit": 0,
- "child_placement": {
- "property1": {
- "algo": "string",
- "options": {
- "property1": null,
- "property2": null
}
}, - "property2": {
- "algo": "string",
- "options": {
- "property1": null,
- "property2": null
}
}
}, - "dashboard_plugins": [
- "string"
], - "default_tiles": [
- null
], - "editable": true,
- "frame_templates": {
- "property1": null,
- "property2": null
}, - "infoui_id": "string",
- "minimap": true,
- "private": true,
- "spawn_point": {
- "position": {
- "x": 0,
- "y": 0,
- "z": 0
}, - "rotation": {
- "x": 0,
- "y": 0,
- "z": 0
}
}, - "subs": {
- "property1": null,
- "property2": null
}, - "visible": 0
}Returns a object sub options based on query
| object_id required | string Object UMID |
| effective | boolean |
| sub_option_key required | string |
{- "property1": null,
- "property2": null
}Sets a object sub option by object UMID, returns appended object option
| object_id required | string Object UMID |
body params
| sub_option_key required | string |
| sub_option_value required | any |
{- "sub_option_key": "string",
- "sub_option_value": null
}{- "property1": null,
- "property2": null
}Deletes a object sub option by object UMID
| object_id required | string Object UMID |
body params
| sub_option_key required | string |
{- "sub_option_key": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Spawns an object created by a user
| object_id required | string Object UMID |
body params
object Mapping of attribute type (e.g. "object_user") to array of attributes to set | |
| object_name required | string |
| object_type_id required | string |
{- "attributes": {
- "object_user": [
- {
- "attribute_name": "string",
- "plugin_id": "string",
- "value": {
- "property1": null,
- "property2": null
}
}
]
}, - "object_name": "string",
- "object_type_id": "string"
}{- "object_id": "string"
}Get tree of objects with given object as root
| object_id required | string Object UMID |
| max_depth | integer |
| object_type | string |
{- "children": {
- "property1": { },
- "property2": { }
}, - "created_at": "string",
- "id": "string",
- "max_depth": 0,
- "name": "string",
- "object_type_id": "string",
- "object_type_name": "string",
- "total_direct_children": 0
}Returns object user attribute
| object_id required | string Object UMID |
| user_id required | string User UMID |
| attribute_name required | string |
| plugin_id required | string |
{- "property1": null,
- "property2": null
}Sets entire object user attribute
| object_id required | string Object UMID |
| user_id required | string User UMID |
body params
| attribute_name required | string |
required | object |
| plugin_id required | string |
{- "attribute_name": "string",
- "attribute_value": {
- "property1": null,
- "property2": null
}, - "plugin_id": "string"
}{- "property1": null,
- "property2": null
}Deletes a object attribute
| object_id required | string Object UMID |
| user_id required | string User UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
{- "attribute_name": "string",
- "plugin_id": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Returns object user sub attributes
| object_id required | string Object UMID |
| user_id required | string User UMID |
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
{- "property1": null,
- "property2": null
}Sets a object sub attribute
| object_id required | string Object UMID |
| user_id required | string User UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
| sub_attribute_value required | any |
{- "attribute_name": "string",
- "plugin_id": "string",
- "sub_attribute_key": "string",
- "sub_attribute_value": null
}{- "property1": null,
- "property2": null
}Deletes a object user sub attribute
| object_id required | string Object UMID |
| user_id required | string User UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
{- "attribute_name": "string",
- "plugin_id": "string",
- "sub_attribute_key": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Returns members belonging to the object
| object_id required | string Object UMID |
{- "avatar_hash": "string",
- "name": "string",
- "object_id": "string",
- "role": "string",
- "user_id": "string"
}Deletes an audio file based on the provided filename from the media manager
| file required | string audio filename |
{- "error": {
- "message": "string",
- "reason": "string"
}
}Returns a filtered list of 3d assets
| category | string |
[- {
- "createdAt": "string",
- "id": "string",
- "is_private": true,
- "meta": {
- "property1": null,
- "property2": null
}, - "name": "string",
- "updatedAt": "string",
- "user_id": "string"
}
]This endpoint allows for the uploading of 3D assets.
| asset required | string <binary> The 3D asset file to be uploaded |
| name | string Name of the asset |
| preview_hash | string Preview hash for the asset |
| is_private | boolean Specify if the asset is private |
{- "createdAt": "string",
- "id": "string",
- "is_private": true,
- "meta": {
- "property1": null,
- "property2": null
}, - "name": "string",
- "updatedAt": "string",
- "user_id": "string"
}Update 3d asset meta by its umid
| object_id required | string Object UMID |
| asset3d_id required | string Asset 3D UMID |
body params
| is_private | boolean |
object (entry.Asset3dMeta) |
{- "is_private": true,
- "meta": {
- "property1": null,
- "property2": null
}
}{- "createdAt": "string",
- "id": "string",
- "is_private": true,
- "meta": {
- "property1": null,
- "property2": null
}, - "name": "string",
- "updatedAt": "string",
- "user_id": "string"
}Returns a newsfeed, with activities from all timelines
| pageSize required | string |
| startIndex required | string |
{- "activities": [
- {
- "activity_id": "string",
- "avatar_hash": "string",
- "created_at": "string",
- "data": {
- "bc_log_index": "string",
- "bc_tx_hash": "string",
- "description": "string",
- "hash": "string",
- "position": {
- "x": 0,
- "y": 0,
- "z": 0
}, - "token_amount": "string",
- "token_symbol": "string"
}, - "object_id": "string",
- "type": "video",
- "user_id": "string",
- "user_name": "string",
- "world_avatar_hash": "string",
- "world_name": "string"
}
], - "pageSize": 0,
- "startIndex": 0,
- "totalCount": 0
}Returns a timeline for an object, collection of activities == timeline
| object_id required | string World or object UMID |
| pageSize required | string |
| startIndex required | string |
{- "activities": [
- {
- "activity_id": "string",
- "avatar_hash": "string",
- "created_at": "string",
- "data": {
- "bc_log_index": "string",
- "bc_tx_hash": "string",
- "description": "string",
- "hash": "string",
- "position": {
- "x": 0,
- "y": 0,
- "z": 0
}, - "token_amount": "string",
- "token_symbol": "string"
}, - "object_id": "string",
- "type": "video",
- "user_id": "string",
- "user_name": "string",
- "world_avatar_hash": "string",
- "world_name": "string"
}
], - "pageSize": 0,
- "startIndex": 0,
- "totalCount": 0
}Creates a new post for a timeline
| object_id required | string World or object UMID |
body params
| description | string |
| hash required | string |
| type required | string |
{- "description": "string",
- "hash": "string",
- "type": "string"
}{- "activities": [
- {
- "activity_id": "string",
- "avatar_hash": "string",
- "created_at": "string",
- "data": {
- "bc_log_index": "string",
- "bc_tx_hash": "string",
- "description": "string",
- "hash": "string",
- "position": {
- "x": 0,
- "y": 0,
- "z": 0
}, - "token_amount": "string",
- "token_symbol": "string"
}, - "object_id": "string",
- "type": "video",
- "user_id": "string",
- "user_name": "string",
- "world_avatar_hash": "string",
- "world_name": "string"
}
], - "pageSize": 0,
- "startIndex": 0,
- "totalCount": 0
}Returns a timeline for an object, collection of activities == timeline
| object_id required | string World or object UMID |
| activity_id required | string Activity UMID |
| pageSize required | string |
| startIndex required | string |
{- "activities": [
- {
- "activity_id": "string",
- "avatar_hash": "string",
- "created_at": "string",
- "data": {
- "bc_log_index": "string",
- "bc_tx_hash": "string",
- "description": "string",
- "hash": "string",
- "position": {
- "x": 0,
- "y": 0,
- "z": 0
}, - "token_amount": "string",
- "token_symbol": "string"
}, - "object_id": "string",
- "type": "video",
- "user_id": "string",
- "user_name": "string",
- "world_avatar_hash": "string",
- "world_name": "string"
}
], - "pageSize": 0,
- "startIndex": 0,
- "totalCount": 0
}Removes an item from the timeline of an object
| object_id required | string World or object UMID |
| activity_id required | string Activity UMID |
{- "activities": [
- {
- "activity_id": "string",
- "avatar_hash": "string",
- "created_at": "string",
- "data": {
- "bc_log_index": "string",
- "bc_tx_hash": "string",
- "description": "string",
- "hash": "string",
- "position": {
- "x": 0,
- "y": 0,
- "z": 0
}, - "token_amount": "string",
- "token_symbol": "string"
}, - "object_id": "string",
- "type": "video",
- "user_id": "string",
- "user_name": "string",
- "world_avatar_hash": "string",
- "world_name": "string"
}
], - "pageSize": 0,
- "startIndex": 0,
- "totalCount": 0
}Edits an existing activity for a timeline
| object_id required | string World or object UMID |
| activity_id required | string Activity UMID |
body params
| description | string |
| hash | string |
| type | string |
{- "description": "string",
- "hash": "string",
- "type": "string"
}{- "activities": [
- {
- "activity_id": "string",
- "avatar_hash": "string",
- "created_at": "string",
- "data": {
- "bc_log_index": "string",
- "bc_tx_hash": "string",
- "description": "string",
- "hash": "string",
- "position": {
- "x": 0,
- "y": 0,
- "z": 0
}, - "token_amount": "string",
- "token_symbol": "string"
}, - "object_id": "string",
- "type": "video",
- "user_id": "string",
- "user_name": "string",
- "world_avatar_hash": "string",
- "world_name": "string"
}
], - "pageSize": 0,
- "startIndex": 0,
- "totalCount": 0
}Returns a timeline for a user
| user_id required | string User UMID |
{- "activities": [
- {
- "activity_id": "string",
- "avatar_hash": "string",
- "created_at": "string",
- "data": {
- "bc_log_index": "string",
- "bc_tx_hash": "string",
- "description": "string",
- "hash": "string",
- "position": {
- "x": 0,
- "y": 0,
- "z": 0
}, - "token_amount": "string",
- "token_symbol": "string"
}, - "object_id": "string",
- "type": "video",
- "user_id": "string",
- "user_name": "string",
- "world_avatar_hash": "string",
- "world_name": "string"
}
], - "pageSize": 0,
- "startIndex": 0,
- "totalCount": 0
}Activate plugin by hash
body params
| plugin_hash required | string |
{- "plugin_hash": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Returns a list of plugins meta filtered by parameters
| ids[] required | Array of strings |
{- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}Returns a list of plugins options filtered by parameters
| ids required | Array of strings |
{- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}{- "AGORA_APP_ID": "string",
- "AI_PROVIDERS": {
- "blockadelabs": true,
- "chatgpt": true,
- "leonardo": true
}, - "BLOCKCHAIN_ID": "string",
- "CONTRACT_DAD_ADDRESS": "string",
- "CONTRACT_FAUCET_ADDRESS": "string",
- "CONTRACT_MOM_ADDRESS": "string",
- "CONTRACT_NFT_ADDRESS": "string",
- "CONTRACT_STAKING_ADDRESS": "string",
- "FEATURE_FLAGS": {
- "buy_nft": true,
- "canvas": true,
- "newsfeed": true
}, - "MINT_NFT_AMOUNT": "string",
- "MINT_NFT_DEPOSIT_ADDRESS": "string",
- "NODE_ID": "string",
- "RENDER_SERVICE_URL": "string",
- "STREAMCHAT_KEY": "string"
}Returns an object with a nested items array of contributions
| object_id required | string ObjectID string |
{- "count": 0,
- "items": [
- {
- "comments": 0,
- "created_at": "string",
- "object_id": "string",
- "type": {
- "attribute_name": "string",
- "plugin_id": "string"
}, - "updated_at": "string",
- "user": {
- "createdAt": "string",
- "id": "string",
- "isGuest": true,
- "name": "string",
- "profile": {
- "avatarHash": "string",
- "bio": "string",
- "location": "string",
- "profileLink": "string"
}, - "token": "string",
- "updatedAt": "string",
- "userTypeId": "string",
- "wallet": "string"
}, - "value": {
- "property1": null,
- "property2": null
}, - "votes": 0
}
], - "limit": 0,
- "offset": 0
}Returns a generation id with which the images can be fetched
body params
| model required | string |
| prompt required | string |
{- "model": "string",
- "prompt": "string"
}{- "data": {
- "sdGenerationJob": {
- "generationId": "string"
}
}, - "success": true
}Returns an array of images by generation id
| leonardo_id required | string LeonardoID string |
{- "data": {
- "generations_by_pk": {
- "createdAt": "string",
- "generated_images": [
- {
- "id": "string",
- "nsfw": true,
- "url": "string"
}
], - "id": "string",
- "prompt": "string",
- "status": "string"
}
}, - "success": true
}Sets entire node attribute
body params
| attribute_name required | string |
required | object |
| plugin_id required | string |
{- "attribute_name": "string",
- "attribute_value": {
- "property1": null,
- "property2": null
}, - "plugin_id": "string"
}{- "property1": null,
- "property2": null
}Deletes a node attribute
body params
| attribute_name required | string |
| plugin_id required | string |
{- "attribute_name": "string",
- "plugin_id": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Returns map with key as userID and value as Attribute Value
| object_id required | string Object UMID |
| attribute_name required | string |
| plugin_id required | string |
{- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}Allow showing a combined (sorted) list from all users. The attribute value is assumed to be a JSON (map-like) object, with some ID as key and the value nested JSON object. The fields params allows selecting some fields to directly return in the list. A field name given in the fields param can also be used as a query param to filter on value. The limit and offset params allow pagination. Limit defaults to 10, maximun allowed is 100.
| object_id required | string Object UMID |
| plugin_id required | string Plugin MID |
| attribute_name required | string Name of the plugin attribute |
| fields[] | Array of strings |
| limit | integer |
| offset | integer |
| order | string |
| q | string |
{- "count": 0,
- "items": [
- { }
], - "limit": 0,
- "offset": 0
}Returns the number of (non null) object user attributes.
| object_id required | string Object UMID |
| attribute_name required | string |
| plugin_id required | string |
| since | string |
{- "count": 0
}Sets entire object attribute
| object_id required | string Object UMID |
body params
| attribute_name required | string |
required | object |
| plugin_id required | string |
{- "attribute_name": "string",
- "attribute_value": {
- "property1": null,
- "property2": null
}, - "plugin_id": "string"
}{- "property1": null,
- "property2": null
}Deletes a object attribute
| object_id required | string Object UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
{- "attribute_name": "string",
- "plugin_id": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Returns object and all subobject attributes
| object_id required | string Object UMID |
| attribute_name required | string |
| plugin_id required | string |
{- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}Changes object permissions to be {"write":"user", "read":"any"}
| object_id required | string Object UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
{- "attribute_name": "string",
- "plugin_id": "string"
}{- "property1": null,
- "property2": null
}Returns object sub attributes
| object_id required | string Object UMID |
| attribute_name required | string |
| plugin_id required | string |
| subAttributeKey required | string |
{- "property1": null,
- "property2": null
}Sets a object sub attribute
| object_id required | string Object UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
| sub_attribute_value required | any |
{- "attribute_name": "string",
- "plugin_id": "string",
- "sub_attribute_key": "string",
- "sub_attribute_value": null
}{- "property1": null,
- "property2": null
}Deletes a object sub attribute
| object_id required | string Object UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
{- "attribute_name": "string",
- "plugin_id": "string",
- "sub_attribute_key": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Returns object user attribute
| object_id required | string Object UMID |
| user_id required | string User UMID |
| attribute_name required | string |
| plugin_id required | string |
{- "property1": null,
- "property2": null
}Sets entire object user attribute
| object_id required | string Object UMID |
| user_id required | string User UMID |
body params
| attribute_name required | string |
required | object |
| plugin_id required | string |
{- "attribute_name": "string",
- "attribute_value": {
- "property1": null,
- "property2": null
}, - "plugin_id": "string"
}{- "property1": null,
- "property2": null
}Returns object user sub attributes
| object_id required | string Object UMID |
| user_id required | string User UMID |
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
{- "property1": null,
- "property2": null
}Sets a object sub attribute
| object_id required | string Object UMID |
| user_id required | string User UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
| sub_attribute_value required | any |
{- "attribute_name": "string",
- "plugin_id": "string",
- "sub_attribute_key": "string",
- "sub_attribute_value": null
}{- "property1": null,
- "property2": null
}Deletes a object user sub attribute
| object_id required | string Object UMID |
| user_id required | string User UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
{- "attribute_name": "string",
- "plugin_id": "string",
- "sub_attribute_key": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Sets a user user attribute based on UserID and TargetID
| user_id required | string User UMID |
| target_id required | string Target user UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
| sub_attribute_value required | any |
{- "attribute_name": "string",
- "plugin_id": "string",
- "sub_attribute_key": "string",
- "sub_attribute_value": null
}{- "property1": null,
- "property2": null
}Sets entire user attribute
| user_id required | string User UMID |
body params
| attribute_name required | string |
required | object |
| plugin_id required | string |
{- "attribute_name": "string",
- "attribute_value": {
- "property1": null,
- "property2": null
}, - "plugin_id": "string"
}{- "property1": null,
- "property2": null
}Returns user sub attributes
| user_id required | string User UMID |
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
{- "property1": null,
- "property2": null
}Sets a user sub attribute
| user_id required | string User UMID |
body params
| attribute_name required | string |
| plugin_id required | string |
| sub_attribute_key required | string |
| sub_attribute_value required | any |
{- "attribute_name": "string",
- "plugin_id": "string",
- "sub_attribute_key": "string",
- "sub_attribute_value": null
}{- "property1": null,
- "property2": null
}Sets entire node attribute
body params
| attribute_name required | string |
required | object |
| plugin_id required | string |
{- "attribute_name": "string",
- "attribute_value": {
- "property1": null,
- "property2": null
}, - "plugin_id": "string"
}{- "property1": null,
- "property2": null
}Deletes a node attribute
body params
| attribute_name required | string |
| plugin_id required | string |
{- "attribute_name": "string",
- "plugin_id": "string"
}{- "error": {
- "message": "string",
- "reason": "string"
}
}Start skybox generation
body params
| prompt required | string |
| skybox_style_id required | integer |
| world_id required | string |
{- "prompt": "string",
- "skybox_style_id": 0,
- "world_id": "string"
}{- "data": {
- "created_at": "string",
- "error_message": null,
- "file_url": "string",
- "id": 0,
- "message": "string",
- "skybox_style_id": 0,
- "status": "string",
- "thumb_url": "string",
- "updated_at": "string"
}, - "success": true
}Return blockadelabs art styles
[- {
- "id": 0,
- "image": null,
- "max-char": 0,
- "name": "string",
- "negative-text-max-char": 0,
- "premium": 0,
- "skybox_style_families": [
- null
], - "sort_order": 0
}
]Delete skybox by ID
| skyboxID required | string SkyboxID int |
body params
| world_id required | string |
{- "world_id": "string"
}0Request a chat authorization token for current user and given object (world or object) The user is required to be connected to the world/object. This also automatically joins the user as a member to the channel, so the join endpoint does not have to be called.
| objectID required | string World or object UMID |
{- "channel": "string",
- "channel_type": "string",
- "token": "string"
}[- {
- "amount": "string",
- "avatar_hash": "string",
- "blockchain_id": "string",
- "kind": 0,
- "last_comment": "string",
- "name": "string",
- "object_id": "string",
- "reward": "string",
- "updated_at": "string",
- "wallet_id": "string"
}
]Add pending transaction
body params
| amount required | string |
| comment required | string |
| kind required | string |
| odyssey_id required | string |
| transaction_id required | string |
| wallet required | string |
{- "amount": "string",
- "comment": "string",
- "kind": "string",
- "odyssey_id": "string",
- "transaction_id": "string",
- "wallet": "string"
}{- "success": true
}[- {
- "balance": "string",
- "blockchain_name": "string",
- "contract_id": "string",
- "reward": "string",
- "staked": "string",
- "transferable": "string",
- "unbonding": "string",
- "updated_at": "string",
- "wallet_id": "string"
}
]