Spaces

The NC State University Library Spaces API provides information about reservable and non-reservable spaces available at the NC State University Libraries, including details about location, features, and access.

Endpoint

GET /api/spaces/everything.json

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

Query Parameters

Parameter Type Description
featuredbooleanFilter for featured spaces (true or false).
titlestringFilter by space title.
herobooleanFilter for hero spaces (true or false).
buildingstringFilter by library building (e.g., "hill", "hunt", "design", "vml", "vetmed").
reservationbooleanFilter by reservable spaces.
insidebooleanFilter for indoor spaces.
sound_levelstringFilter by sound level (e.g., "quiet", "collaborative").
workstringFilter by type of work supported in the space.
accessstringFilter by who can access the space (e.g., "students", "faculty").
helpbooleanFilter spaces that offer assistance.
lighting_typestringFilter by type of lighting available.

Response Format

The API returns an array of objects, where each object represents a library space with details about its features and availability.

Example Response

[{
  "nid": "55240",
  "title": "Dataspace 4K 55\" QLED Monitor",
  "description": "

The Dataspace sports a large, high-performance Samsung QH55H monitor...

", "building": ["Dataspace"], "access": ["Students", "Graduate Students", "Faculty", "Staff"], "popup-description": "
  • Use to view your data visualizations and other documents in high resolution...
", "days_in_advance": "7 days", "reservable_by": ["Students", "Graduate Students", "Faculty", "Staff"], "request_url": null }]

Response Fields

Field Type Description
nidstringUnique identifier for the space.
titlestringName of the space.
descriptionstringHTML-formatted description of the space.
buildingarray[string]Library building where the space is located.
accessarray[string]Who can access the space (e.g., students, faculty).
popup-descriptionstringBrief summary of the space’s purpose and features.
days_in_advancestringNumber of days in advance the space can be reserved.
reservable_byarray[string]Groups allowed to reserve the space.
request_urlstringURL for space reservations (if applicable).

Usage Example

curl -X GET "https://www.lib.ncsu.edu/api/spaces/everything.json?building=hunt&reservation=true" -H "Accept: application/json"

Support

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

Updated

Website feedback

What is the issue with this page?