Skip to content

Endpoints

Fetch a specific resource using its unique identifier

GET /example/{id}

ParameterTypeRequiredDescription
idnumericYesUnique identifier of the resource
{
"id": "123",
"name": "Example Resource",
"description": "A single example resource"
}
CodeDescription
200 OKResource successfully retrieved
404 Not FoundResource with specified ID does not exist

Retrieve a collection of resources with optional filtering

GET /example/

ParameterTypeRequiredDescription
limitintegerNoMaximum items to return
offsetintegerNoNumber of items to skip
idAfterintegerNoOnly include items with higher ID
createdSincedatetimeNoOnly include items created since
updatedSincedatetimeNoOnly include items updated since
[
{
"id": "123",
"name": "First Example",
"description": "An example resource"
},
{
"id": "124",
"name": "Second Example",
"description": "Another example resource"
}
]
CodeDescription
200 OKResources successfully retrieved
400 Bad RequestInvalid query parameters

All *Since filters operate on system timestamps rather than resource dates. They filter based on when an action occurred in the system, not dates stored within the resource itself.

Format: YYYY-MM-DD
Example: 2024-11-25

Validation Rules

  • Must be full dates (YYYY-MM-DD)
  • Years must be four digits
  • Months and days must be two digits (pad with leading zeros)
  • Partial dates (YYYY-MM) are not accepted
  • Time components are not allowed
  • No timezone offset is allowed

Format: YYYY-MM-DDTHH:mm:ssZ
Example: 2024-11-25T08:30:00Z

Validation Rules

  • Must include full date and time components
  • The T delimiter between date and time is required
  • Hours, minutes, and seconds must be two digits (pad with leading zeros)
  • Seconds are required (HH:mm is not accepted)
  • May include timezone designator