Faculty Expert Affiliations

Non-hierarchical taxonomy used to assign affiliations to people, specifically faculty experts.

Get a collection

Endpoint
GET /faculty_expert_affiliations HTTP/1.1

Query string parameters

All query string parameters are optional.

callback string

Wraps the response in a callback function of the given name. Use this parameter to facilitate JSONP requests.

excluded_ids comma-separated list of IDs

Returns faculty expert affiliations, except those with the given IDs.

ids comma-separated list of IDs

Return faculty expert affiliations with the given IDs.

order_by comma-separated list

Sort faculty expert affiliations by one or more ORDER_BY and ORDER parameter pairs. Options:

  • ORDER:
    • asc: order from lowest to highest values
    • desc: order from highest to lowest values
  • ORDER_BY:
    • id: order by faculty expert affiliation ID
    • list: order by the order of IDs given in the ids parameter
    • name: order by term name
    • weight: order by term weight

Format: ORDER_BY|ORDER[,ORDER_BY|ORDER,...]

Default value: name|asc

page integer

Return faculty expert affiliations from a specific page of a collection.

Default value: 1

per_page integer

Number of faculty expert affiliations to return per page of a collection. Maximum: 100

Default value: 5

slug comma-separated list

Return faculty expert affiliations matching the given slug(s).

Response

In the example response, embedded faculty expert affiliations are truncated for illustrative purposes. In the real-world version of the response, "...faculty expert affiliation object..." is an entire faculty expert affiliation resource.

The faculty expert affiliation collection
{
   "_embedded": {
      "faculty_expert_affiliations": [
         "...faculty expert affiliation object...",
         "...faculty expert affiliation object...",
         "...faculty expert affiliation object...",
         "...faculty expert affiliation object...",
         "...faculty expert affiliation object..."
      ]
   },
   "_links": {
      "find": {
         "href": "/faculty_expert_affiliations/{?id}",
         "templated": true
      },
      "next": {
         "href": "/faculty_expert_affiliations?page=3"
      },
      "prev": {
         "href": "/faculty_expert_affiliations?page=1"
      },
      "self": {
         "href": "/faculty_expert_affiliations?page=2"
      }
   },
   "page": 1,
   "per_page": 5,
   "return_count": 5,
   "total_available": 100
}

Attributes

_embedded hash

Embedded resources.

_embedded.faculty_expert_affiliations[] array

An array of faculty expert affiliation objects.

page integer

The page number of the returned collection.

per_page integer

The number of faculty expert affiliations requested per page.

return_count integer

Number of faculty expert affiliations returned.

total_available integer

Total number of faculty expert affiliations available in the collection.

Get one

Endpoint
GET /faculty_expert_affiliations/:id HTTP/1.1

Endpoint parameters

id integer required

The unique identifier of the faculty expert affiliation.

Response

GET /faculty_expert_affiliations/3678
{
   "_embedded": {},
   "_links": {
      "self": {
         "href": "/faculty_expert_affiliations/3678"
      }
   },
   "id": 3678,
   "name": "Center for Global Health",
   "slug": "center-global-health",
   "type": "faculty_expert_affiliations"
}

Attributes

_embedded hash

Embedded resources.

id integer

Unique identifier of the faculty expert affiliation.

name string

The nice name of the faculty expert affiliation.

slug string

The name of the faculty expert affiliation used in URLs.

type string

Type of resource.

Get a subcollection

A subcollection is a collection of objects contained within a faculty expert affiliation.

Endpoint
GET /faculty_expert_affiliations/:id/:subcollection HTTP/1.1

Endpoint parameters

id integer
The unique identifier of the faculty expert affiliation.
subcollection string

The name of the subcollection to retrieve. Options: people

Query string parameters

To filter the subcollection, see the list of available parameters associated with the chosen subcollection:

Response

See the response associated with the chosen subcollection: