REST and other APIs


The URLs for the various entities (disciplines, facets, concepts) provide a REST API with a JSON response format. Full documentation, a schema, and interactive client via Swaggerhub available here: PhySH REST API


Simple examples using curl are below.

Get all disciplines:

$ curl -H 'Accept: application/json'

Get basic information about a single concept:

$ curl -H 'Accept: application/json'

Get basic concept information along with related concepts and the facets and disciplines that the concept belongs to:

$ curl -H 'Accept: application/json'\?include\=related,facets,disciplines

Get all concepts belonging to the “Atomic, Molecular & Optical” (ID: “8ab3d2b7-b50b-460e-b086-8990cfcbd350”) discipline:

$ curl -H 'Accept: application/json'\?discipline\=8ab3d2b7-b50b-460e-b086-8990cfcbd350