Examples

GET /api/users
200
[
  {
    "user": {
      "domains_andor": "or",
      "filter_on_owner": null,
      "role_id": null,
      "mail": "admin@someware.com",
      "id": 135138680,
      "hostgroups_andor": "or",
      "updated_at": "2012-12-18T15:24:42Z",
      "compute_resources_andor": "or",
      "admin": true,
      "last_login_on": "2009-10-12T21:50:04Z",
      "lastname": "User",
      "created_at": "2012-12-18T15:24:42Z",
      "login": "admin",
      "firstname": "Admin",
      "facts_andor": "or",
      "auth_source_id": 980190962
    }
  },
  {
    "user": {
      "domains_andor": "or",
      "filter_on_owner": null,
      "role_id": null,
      "mail": "apiadmin@someware.com",
      "id": 886836129,
      "hostgroups_andor": "or",
      "updated_at": "2012-12-18T15:24:42Z",
      "compute_resources_andor": "or",
      "admin": true,
      "last_login_on": "2009-10-12T21:50:04Z",
      "lastname": "User",
      "created_at": "2012-12-18T15:24:42Z",
      "login": "apiadmin",
      "firstname": "apiadmin",
      "facts_andor": "or",
      "auth_source_id": 200482051
    }
  },
  {
    "user": {
      "domains_andor": "or",
      "filter_on_owner": null,
      "role_id": null,
      "mail": "userone@someware.com",
      "id": 980190962,
      "hostgroups_andor": "or",
      "updated_at": "2012-12-18T15:24:42Z",
      "compute_resources_andor": "or",
      "admin": false,
      "last_login_on": "2009-10-12T21:50:04Z",
      "lastname": "User",
      "created_at": "2012-12-18T15:24:42Z",
      "login": "one",
      "firstname": "One",
      "facts_andor": "or",
      "auth_source_id": 980190962
    }
  },
  {
    "user": {
      "domains_andor": "or",
      "filter_on_owner": null,
      "role_id": null,
      "mail": "testuser@someware.com",
      "id": 200482051,
      "hostgroups_andor": "or",
      "updated_at": "2012-12-18T15:24:42Z",
      "compute_resources_andor": "or",
      "admin": false,
      "last_login_on": "2009-10-12T21:50:04Z",
      "lastname": "User",
      "created_at": "2012-12-18T15:24:42Z",
      "login": "test",
      "firstname": "test",
      "facts_andor": "or",
      "auth_source_id": 200482051
    }
  },
  {
    "user": {
      "domains_andor": "or",
      "filter_on_owner": null,
      "role_id": null,
      "mail": "usertwo@someware.com",
      "id": 298486374,
      "hostgroups_andor": "or",
      "updated_at": "2012-12-18T15:24:42Z",
      "compute_resources_andor": "or",
      "admin": false,
      "last_login_on": "2009-10-12T21:50:04Z",
      "lastname": "User",
      "created_at": "2012-12-18T15:24:42Z",
      "login": "two",
      "firstname": "Two",
      "facts_andor": "or",
      "auth_source_id": 980190962
    }
  }
]

Params

Param name Description
search
optional

filter results


Value: Must be String
order
optional

sort results


Value: Must be String
page
optional

paginate results


Value: Must be String
per_page
optional

number of entries per request


Value: Must be String