List the ID and name of all teamSpace elements in JSON format
Returns a JSON array of JSON objects containing the IDs and names of all teamSpace elements. This is equivalent to GET /teamSpace/?format=name. Note that for element types that do not have a "name" property, the "list" format will be used instead.
Request
GET http://{hostname}:{port}
/teams/name
Accept: application/json
Parameter | Type | Required | Description |
---|---|---|---|
Accept | application/json |
true |
Example
curl -k -u jsmith:passwd
"http://myserver.example.com:8080/teams/name"
Example response
[
{
"id": "e25dce9b-f73e-4068-b79d-918e7b7b077c",
"name": "Other team"
},
{
"id": "00000000-0000-0000-0000-000000000206",
"name": "Team for Sample Release"
}
]