GET api/FoxPass/groups

取得群組清單

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Groups
NameDescriptionTypeAdditional information
name

string

None.

gid

integer

None.

is_posix_group

boolean

None.

synced

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "name": "sample string 1",
    "gid": 2,
    "is_posix_group": true,
    "synced": true
  },
  {
    "name": "sample string 1",
    "gid": 2,
    "is_posix_group": true,
    "synced": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfFoxpassAPI.Groups xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iMOE_Back_End">
  <FoxpassAPI.Groups>
    <gid>2</gid>
    <is_posix_group>true</is_posix_group>
    <name>sample string 1</name>
    <synced>true</synced>
  </FoxpassAPI.Groups>
  <FoxpassAPI.Groups>
    <gid>2</gid>
    <is_posix_group>true</is_posix_group>
    <name>sample string 1</name>
    <synced>true</synced>
  </FoxpassAPI.Groups>
</ArrayOfFoxpassAPI.Groups>