ProgressObjects
Add an attribute column
POST
An attribute to list beside the elements. Refused with 400 for one the project does not have, and with 409 when it is a column already.
Who may call it: Whoever manages the project: an owner, security admin or admin of its organization, or an admin of the project. API keys: no.
sessioncookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Host- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
projectId*stringThe project's id.
application/json- body
definitionId*stringThe attribute.
Length
1 <= length <= 100Created.
application/json- response
column*An attribute the project lists beside its elements.
Example Request
curl -X POST 'http://localhost:3000/api/projects/string/metadata-columns/attributes' \ -H 'Content-Type: application/json' \ -d '{ "definitionId": "string"}'Example Response
{ "column": { "id": "string", "attribute": { "id": "string", "name": "string", "type": "text", "options": [ { "id": "string", "name": "string", "parentId": "string" } ], "standard": "location", "gone": true, "provider": { "id": "string", "name": "string" } } }}