API

Common

Getting Started

User

Register New User
Login
Logout
Refresh Access Token
Get User Profile
Update Profile
Upload Avatar
Delete User
Reset Password
Reset Password by ID

User Token

List User Tokens
Add User Token
Update Default User Token
Delete User Token
Verify User Token
Reset Verification Code

User vAtom

Get vAtom
Get vAtoms by Ids
Get vAtom Inventory
Search vAtoms
Geo Discover Groups
Geo Discover vAtoms
Update vAtoms
Perform Action
Trash vAtom

User Activity

Get My Threads
Get My Thread Messages

Template

List Templates
Get Template
Create Template
Update Template
Delete Template

Template Variation

List Variations
Get Variation
Create Variation
Update Variation
Delete Variation

vAtom

Emit vAtom

Template Action

List Actions
Get Action
Register Action Handler
Register Action
Update Action
Delete Action

Template Face

List Faces
Register Face
Update Face
Delete Face

Asset

Upload Assets
Get Assets
Delete Assets

Trash vAtom

POST
https://api.blockv.io/v1/user/vatom/trash

Overview

Trash a vAtom belonging to the current user.

Calling trash will remove the vAtom from the current user's inventory and transfer it to the trash user.

Trash vAtom Request

HTTP Headers

Content-Type: application/json App-Id: {app_id}

Payload Details

NameTypeDescription
this.id * stringThe ID of the vAtom.

Sample Request

{
    "this.id": "3ebc4b35-90d3-4260-9d1d-c2ae71479c95"
}

Get vAtom Response

Return & Error Codes

ErrorTypeDescription
200httpEverything is OK
403httpNot Authorized
404httpNot Found

Sample Response

{
    "payload": {
        "success_message": "Vatom has been transferred to the trash user"
    }
}
©2020 BLOCKv
Info