GraphQL / Object Interface Related Structures.| Parameter Name | Required | Type | Explanation |
|---|---|---|---|
| objectIdList | yes | []string | The objectIds to update. |
| status | yes | int | the state of the object |
| Parameter Name | Required | Type | Explanation |
|---|---|---|---|
| errorCode | yes | string | Error code |
| errorInfo | yes | string | Error information |
curl --location 'https://mma.tvunetworks.com/api/objectd/v1/query' \
--header 'SID: ' \
--header 'Content-Type: application/json' \
--data '{
"query": "mutation updateObjectAttr { updateObjectAttr(input: { actions: [{ objectId: \"1789821\", operator: \"add\", attrName: \"admin.users\", attrValue: [\"value1\", \"value2\", \"value3\"] }] }) { errorCode errorInfo } }"
}'{
"data": {
"updateObjectStatus": {
"errorCode": "0x0",
"errorInfo": "Succ"
}
}
}