API documentation
I built this project for an enterprise SaaS company. However, what I've shared is genericized to mask proprietary information, including names of companies, products, features, and UI controls. Product images are mockups generated by Claude.
Excerpt from a REST API reference site
Data Service v5.1.0
The Data Service exposes endpoints for creating, retrieving and managing resources. It integrates with the Identity Service and the Authorization Service.
Get started
- Overview of Clearpath Services
- Configure security
- Use the API
- Test with user tokens
- Clearpath service health check standard
- Shallow health check schema
- Deep health check schema
- Tutorials
https://api.clearpath.example/data/v2AuthenticationAuthorization: Bearer <access_token>Resources
Resources are the core records managed by the Data Service. Each resource can have one or more attributes.
Retrieves all resources
Returns a paged collection of resources. Supports standard OData query options for filtering, sorting and shaping the results.
$expandExpands related entities inline.
$filterFilters the results, based on a Boolean condition.
$selectSelects which properties to include in the response.
$orderbySorts the results.
$topReturns only the first n results.
$skipSkips the first n results.
$countIncludes a count of the matching results in the response.
Responses
Response samples
Creates a resource
Creates a new resource and any attributes included in the request.
NamerequiredDisplay name of the resource. Must be unique.
DescriptionOptional description of the resource.
StatusrequiredActive, Inactive or Archived.
CategoryOptional grouping used for filtering.
AttributesKey-value pairs to attach to the resource.
Responses
Request samples
Response samples
Retrieves a specific resource by ID
Returns a single resource, including its attributes when expanded.
idrequiredResource ID.
$expandExpands related entities inline.
$selectSelects which properties to include in the response.
Responses
Response samples
Updates a resource
Replaces an existing resource with the values in the request. Fields that are left out are reset to their defaults.
idrequiredResource ID.
NamerequiredDisplay name of the resource. Must be unique.
DescriptionOptional description of the resource.
StatusrequiredActive, Inactive or Archived.
CategoryOptional grouping used for filtering.
AttributesKey-value pairs to attach to the resource.
Responses
Request samples
Response samples
Deletes a single resource
Permanently deletes a resource and its attributes. This action cannot be undone.
idrequiredResource ID.