Gamma API
ProgressObjects

List metadata columns

GET
/api/projects/{projectId}/metadata-columns

The model properties and the attributes listed beside the elements, each in the order added, and every attribute to pick from.

Who may call it: Anyone on the project. API keys: yes, given object.read for this project.

Authorization

cookiegamma.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.

Path Parameters

projectId*string

The project's id.

Response Body

OK.

application/json
  1. response
columns*array<>
attributeColumns*array<>
attributes*array<>

Every attribute of the project, by name.

Example Request
curl -X GET 'http://localhost:3000/api/projects/string/metadata-columns'
Example Response
{  "columns": [    {      "id": "string",      "category": "string",      "name": "string",      "unit": "string"    }  ],  "attributeColumns": [    {      "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"        }      }    }  ],  "attributes": [    {      "id": "string",      "name": "string",      "type": "text",      "options": [        {          "id": "string",          "name": "string",          "parentId": "string"        }      ],      "standard": "location",      "gone": true,      "provider": {        "id": "string",        "name": "string"      }    }  ]}