Group Fields
To fetch metadata of Group object send a GET request to:
https://api.assembla.com/v1/meta/groups.(json|xml)
example. request json with curl utility:
curl -H "authorization: bearer _token" https://api.assembla.com/v1/meta/groups.json
example. request xml with curl utility:
curl -H "authorization: bearer _token" https://api.assembla.com/v1/meta/groups.xml
table below is the list of fields contained in the response, this list will be properly formatted to json or xml as requested.
Fields
| Param | Data type | Access | Description |
|---|---|---|---|
| id | integer | read | Group identifier |
| name | string | read/write | Group name |
| portfolio_id | string | read | Portfolio identifier |
| type | string | read |
Group type, available values are in bold space The group includes spaces user The group includes users |
| items | array | read |
If the group type is space, items includes space identifers.If the group type is user, items includes user identifiers.
|
Validations
| Field | Validator | Description |
|---|---|---|
| name | uniqueness validator | Group name should be unique, case insensitive. |