# Groups

# List all Groups

You can use this endpoint to return a paginated list of all groups within the database.

# Endpoint

GET /groups

# Response

{
  "data": [
    {
      "id": 3,
      "unique_id": "94d869e2-7a4c-4ef8-a133-7c570b086610",
      "name": "Edelgarde Scans",
      "slug": "9998027774-edelgarde-scans",
      "description": null
    },
    {
      "id": 6,
      "unique_id": "39426f64-285a-4a46-a8b6-65ddccceaad3",
      "name": "Shadow Scans",
      "slug": "3300520275-shadow-scans",
      "description": null
    }
  ],
  "links": {
    "first": "http:\/\/genkan.io\/api\/v1\/groups?page=1",
    "last": null,
    "prev": null,
    "next": "http:\/\/genkan.io\/api\/v1\/groups?page=2"
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "path": "http:\/\/genkan.io\/api\/v1\/groups",
    "per_page": 24,
    "to": 24
  }
}

# Get Group Details

You can use this endpoint to return details about a specific group using the id.

# Endpoint

GET /groups/:id

# Response

{
  "data": {
    "id": 20,
    "unique_id": "f2064c9a-0ee7-4970-a675-15a3959ce58b",
    "name": "Gaijin Scans",
    "slug": "7259728750-gaijin-scans",
    "description": null
  }
}