Devices

The NC State University Library Devices API provides a list of devices available for checkout or use at the Libraries.

Endpoint

GET /api/devices/everything.json

Base URL: https://www.lib.ncsu.edu/api/devices/everything.json

Query Parameters

ParameterTypeDescription
categorystringFilter results by device category (e.g., "Scientific Models").
lending_methodstringFilter by lending method (e.g., "walkup").
buildingstringFilter by library building (e.g., "Hill").
manufacturerstringFilter by manufacturer name (e.g., "sony").

Response Format

The API returns an array of objects, where each object represents a device available at the library.

Example Response

[{
  "nid": "62568",
  "title": "3B 1/2 Life-Size Complete Human Dual Sex Muscle Model, 33 part",
  "device-name": "1/2 Life-Size Complete Human Dual Sex Muscle Model, 33 part",
  "path": "/devices/12-life-size-complete-human-dual-sex-muscle-model-33-part",
  "body": "The complete human anatomy in a convenient size...",
  "photo": "https://www.lib.ncsu.edu/sites/default/files/...jpg",
  "categories": ["Scientific Models", "Design Tools"],
  "lending_method": ["walkup"],
  "lending_period": ["2hr"],
  "device_os": "",
  "manufacturer": "3B",
  "hardware_specs": "",
  "replacement_cost": "",
  "call_number": "",
  "catkey": "",
  "request_url": "",
  "spaces": ["Ask Us", "Ask Us"],
  "buildings": ["Hill Library", "Hunt Library"]
}]

Response Fields

FieldTypeDescription
nidstringUnique identifier for the device.
titlestringFull title of the device.
device-namestringName of the device.
pathstringRelative URL path to the device details.
bodystringHTML-formatted description of the device.
photostringURL to an image of the device.
categoriesarray[string]Categories the device belongs to.
lending_methodarray[string]Methods available for borrowing.
lending_periodarray[string]Duration the device can be borrowed.
device_osstringOperating system (if applicable).
manufacturerstringManufacturer of the device.
hardware_specsstringHardware specifications.
replacement_coststringCost to replace the device.
call_numberstringLibrary catalog call number.
catkeystringUnique catalog identifier.
request_urlstringURL for requesting the device.
spacesarray[string]Library spaces where the device can be accessed.
buildingsarray[string]Library buildings where the device is available.

Usage Example

curl -X GET "https://www.lib.ncsu.edu/api/devices/everything.json" -H "Accept: application/json"

Notes

  • Some fields may be empty if data is not available.
  • The body field contains HTML formatting.
  • Devices are available across multiple library buildings.

Support

For questions or issues related to this API, email the Web Team.

Updated

Website feedback

What is the issue with this page?