Home Page > Integration > REST API > Projects > Fields

Fields

Projects/:id/Fields

This endpoint is used for manipulating the Project nested Fields resource. Objects are always returned in a JSON format within an array. Empty results return an empty array.

 

Object

The Projects nested Fields object takes on the following JSON object:

[
    {
        "id": "<int>",
        "values": [
            "string"
        ]
    }
]

 

GET

This verb is used for retrieving resources, it is subject to the parameters mentioned in the overview and all fields mentioned above are searchable.

 

PUT

Available in 8.1.11 and above

This endpoint takes a JSON array of Field Object's (As described above) to replace the current linked keywords to the parent Field. These ID's can be discovered via the Fields resource. It should be noted that although values is an array, some knowledge of the Field is required as some field type's do not allow for multiple values.

 

A curl example:

curl -u admin:admin 
    http://192.168.1.139/REST/1/Projects/5/Fields -XPUT 
    -D - 
    -d '[ { "id": "1", "values": ["FOO"] } ]'

 

 

 
Last modified
06:39, 27 Apr 2017

Tags

This page has no custom tags.

Classifications

This page has no classifications.