POST
/
ext
/
add_resource_fields

Body

api_key
string
required

This is the API key for your account. You can obtain this from the “Secrets” tab of your “Settings” page.

subproject_id
string
required

This is the id of the subproject that the resource resides in. You can obtain this ID from the URL while in the subproject.

resource_id
string
required

This is the id of the resource to be updated. You can obtain this ID by visiting the resource and looking at the table on the first tab of the resource modal.

version
string
required

This is the version of the resource to be updated. This is indicated in the “Version Dropdown” while viewing the resource. The default version is “Version 1”.

fields
[Field]
required

An array of fields to be logged under the “Resource Fields” table. The structure of each Field item is detailed below.

Response

status
number

Indicates whether the call was successful. 200 if successful, 400 if not.

message
string

Message saying ‘Resource fields updated’ if successful, an error message if not.