GET /api/auth_source_internals
List internal authentication sources

Examples

GET /api/auth_source_internals
200
{
  "total": 1,
  "subtotal": 1,
  "page": 1,
  "per_page": 20,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "created_at": "2019-09-11 14:55:57 UTC",
      "updated_at": "2019-09-11 14:55:57 UTC",
      "id": 200482051,
      "name": "Internal"
    }
  ]
}

Params

Param Name Description
location_id
Optional

Abast per ubicacions

Validations:

  • Must be a Integer

organization_id
Optional

Abast per organitzacions

Validations:

  • Must be a Integer

search
Optional

filtra els resultats

Validations:

  • Must be a String

order
Optional

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
Optional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
Optional

Nombre de resultats per pàgina a retornar

Validations:

  • Must be a number.


GET /api/auth_source_internals/:id
Show an internal authentication source

Examples

GET /api/auth_source_internals/200482051
200
{
  "created_at": "2019-09-11 14:55:57 UTC",
  "updated_at": "2019-09-11 14:55:57 UTC",
  "id": 200482051,
  "name": "Internal"
}

Params

Param Name Description
location_id
Optional

Abast per ubicacions

Validations:

  • Must be a Integer

organization_id
Optional

Abast per organitzacions

Validations:

  • Must be a Integer

id
Required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.