GraphQL API¶
GraphQL API is a query language for APIs first offered in CollectiveAccess Version 1.8. This API provides a full range of services for reading and writing both catalogue data and system configuration, and is under active development.
URLs¶
API access in provided through several endpoints, each implementing a category of functionality. The format for GraphQL service URLs is: <base-url>
/service/<endpoint-name>
, where the base URL is the root URL for your CollectiveAccess install and endpoint is name of a service described below.
If your CollectiveAccess system is at https://www.mysite.com, the URL for the authentication endpoint would be https://www.mysite.com/service/Auth
.
Endpoints¶
- Authentication (endpoint name
Auth
) - Searching (endpoint name
Search
) - Item-level data access (endpoint name
Item
) - Editing (endpoint name
Edit
) - Browsing (endpoint name
Browse
) - Lightbox/set management (endpoint name
Lightbox
) - Schema information (endpoint name
Schema
) - Metadata import (endpoint name
MetadataImport
) - Configuration (endpoint name
Config
) - Utility (endpoint name
Utility
)