# List FAI departments List all FAI departments Endpoint: GET /data-api/v1/catalog/fai_departments Security: authorization ## Response 200 fields (application/json): - `count` (integer) Record count Example: 1 - `data` (array) Example: [{"id":"3FCEDF144BE9F3DFF1145DB6C515FB34","name":"Foo Bar","roles":[{"id":"3FCEDF144BE9F3DFF1145DB6C515FB35","name":"Fake Role"}]}] - `data.id` (any, required) A unique hexadecimal identifier for the desired field. Example: "1698C53EBC888758570396E0334965C1" - `data.name` (string, required) FAI Department name Example: "Foo Bar" - `data.roles` (array, required) FAI Roles. Note - not all departments have roles Example: [{"id":"3FCEDF144BE9F3DFF1145DB6C515FB35","name":"Fake Role"}] - `data.roles.name` (string, required) FAI Role name Example: "Fake Role" ## Response 401 fields (application/json): - `errors` (array) - `errors.detail` (string, required) Example: "The token provided is not valid" - `errors.source` (object) - `errors.title` (string, required) Example: "Unauthorized" ## Response 422 fields (application/json): - `errors` (array, required) - `errors.detail` (string, required) Example: "null value where string expected" - `errors.source` (object, required) - `errors.source.pointer` (string, required) Example: "/data/attributes/petName" - `errors.title` (string, required) Example: "Invalid value"