[Object] General info about update request - Waiviogit/waivio GitHub Wiki

Request – /objects-bot/append-object

Request

Field Name Example Value (in JSON) Description
author "author": "wiv01" Author of comment. Field type: string.
parentAuthor "parentAuthor": "fgh87" The name of the bot that created the object (author of comment with create object) to which the update is added. Field type: string.
parentPermlink "parentPermlink": "lqd-test-rest-id04071600" Unique name of comment with create object which append related on. Field type: string.
body "body": "@wiv01 added parent (English):\n vuf-test-rest-v6" Text for comment with update information. Field type: string.
title "title": "" Empty because for comments don't need to send title.
permlink "permlink": "wiv01-5bu8lnlxelw" Unique name of recently created comment with append object. Field type: string.
lastUpdated "lastUpdated": 1659946674699 Time when update was added. Unix Timestamp format. Field type: number.
wobjectName "wobjectName": "test rest id05071512" The name of the object to which the update is added. Field type: string.
field "field": {"name": "parent", "body": "vuf-test-rest-v6", "locale": "en-US" } Information about update. Field type: object. name - name of field. Field type: string; body - value of field. Field type: string; locale - locale of field (en-US etc.). Field type: string.
{
    "author": "wiv01",
    "parentAuthor": "fgh87",
    "parentPermlink": "lqd-test-rest-id04071600",
    "body": "@wiv01 added parent (English):\n vuf-test-rest-v6",
    "title": "",
    "field": {
        "name": "parent",
        "body": "vuf-test-rest-v6",
        "locale": "en-US"
    },
    "permlink": "wiv01-5bu8lnlxelw",
    "lastUpdated": 1659946674699,
    "wobjectName": "test rest id05071512"
}

Response

Field Name Example Value (in JSON) Description
author "author": "dw38h" Author of recently created comment with information about object field. Field type: string.
permlink "permlink": "wiv01-5bu8lnlxelw" Unique name of recently created comment with append object. Field type: string.
parentAuthor "parentAuthor": "fgh87" The name of the bot that created the object (author of comment with create object) to which the update is added. Field type: string.
parentPermlink "parentPermlink": "lqd-test-rest-id04071600" Unique name of comment with create object which append related on. Field type: string.
transactionId "transactionId": "fb9e5d5de0d797f56de1af10d45ecaa6c9b2fa6a" id of transaction with comment which include append object. Field type: string.
{
    "author": "dw38h",
    "permlink": "wiv01-5bu8lnlxelw",
    "parentAuthor": "fgh87",
    "parentPermlink": "lqd-test-rest-id04071600",
    "transactionId": "fb9e5d5de0d797f56de1af10d45ecaa6c9b2fa6a"
}