Entity Types
API key passed in the Authorization header. Format: <api-key>
Comma-separated list of relationships to include. Available: endpoints, fieldTags, systemFields
Sort field. Prefix with - for descending. Available: name
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/patchworks/entity-types HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": 1,
"label": "My Label",
"colour": "blue",
"logo_url": "example_logo_url",
"version": 1,
"version_name": "example_version_name",
"rate_limit_unit": "second",
"rate_limit_duration": 1,
"system_type_id": 1,
"protocol": "HTTP",
"company_id": 1,
"date_format": "example_date_format",
"help_link": "example_help_link",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z"
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://api.example.com/api/v1/patchworks/entity-types",
"per_page": 25,
"to": 1,
"total": 1
},
"links": {
"first": "https://api.example.com/api/v1/patchworks/entity-types?page=1",
"last": "https://api.example.com/api/v1/patchworks/entity-types?page=1",
"prev": null,
"next": null
}
}API key passed in the Authorization header. Format: <api-key>
The entity type identifier.
Comma-separated list of relationships to include. Available: endpoints, fieldTags, systemFields
Sort field. Prefix with - for descending. Available: name
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/patchworks/entity-types/{entity_type} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": {
"id": 1,
"label": "My Label",
"colour": "blue",
"logo_url": "example_logo_url",
"version": 1,
"version_name": "example_version_name",
"rate_limit_unit": "second",
"rate_limit_duration": 1,
"system_type_id": 1,
"protocol": "HTTP",
"company_id": 1,
"date_format": "example_date_format",
"help_link": "example_help_link",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z"
}
}API key passed in the Authorization header. Format: <api-key>
Successful response
Unauthenticated
Unauthorized
GET /api/v1/patchworks/entity-types/download HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{}Last updated
Was this helpful?