The following macros are not currently supported in the header:
  • style

GET /staff/count

Resource URL 

Returns the number of staff in Affinitylive.

GET /staff/count
ANY /staff/count?_method=get

Handling the response

Below is a table of available response fields and objects that are returned within the response object of the returned object. The optional fields and objects can be requested in the _fields parameter; see included examples.

countunsigned intThe total number of objects found at the end of the resource.

Sample Response

GET /staff/count.json
{
   "response" : {
      "count" : "25"
   },
   "meta" : {
      "status" : "ok",
      "message" : "Everything executed as expected."
   }
}