Get List of Groups

Returns list of groups.

Role

Administrator

Method

GET

URL

/api/v2/groups

Query Parameters

Parameter Name Type Description
order String "asc" or "desc" default="desc"
offset Number
count Number number of records to retrieve(1-100) default=20

Response Example

Status Line / Response Header

HTTP/1.1 200 OK
Content-Type:application/json;charset=utf-8

Response Body

[
    {
        "id": 1,
        "name": "test",
        "members": [
            {
                "id": 2,
                "userId": "developer",
                "name": "developer",
                "roleType": 2,
                "lang": null,
                "mailAddress": "developer@nulab.example"
            }
        ],
        "displayOrder": null,
        "createdUser": {
            "id": 1,
            "userId": "admin",
            "name": "admin",
            "roleType": 1,
            "lang": "ja",
            "mailAddress": "eguchi@nulab.example"
        },
        "created": "2013-05-30T09:11:36Z",
        "updatedUser": {
            "id": 1,
            "userId": "admin",
            "name": "admin",
            "roleType": 1,
            "lang": "ja",
            "mailAddress": "eguchi@nulab.example"
        },
        "updated": "2013-05-30T09:11:36Z"
    },
    ...
]