Skip to main content

List Resources

GET /api/resources

Retrieve a paginated list of templates with optional filtering and search capabilities.

Code Examples

curl --request GET \
--url 'https://tess.pareto.io/api/resources' \
--header 'Authorization: Bearer YOUR_API_KEY'

Path Parameters

ParameterTypeRequiredDescription
qstringNoSearch resources by title, description and long description
typestringNoFilter by resource type
pageintegerNoCurrent page (default: 1)
per_pageintegerNoNumber of items per page (default: 15)

Query Parameters

ParameterTypeRequiredDescription
qstringNoSearch resources by title, description and long description
typestringNoFilter by resource type
pageintegerNoCurrent page (default: 1)
per_pageintegerNoNumber of items per page (default: 15)

Body Parameters

ParameterTypeRequiredDescription
qstringNoSearch resources by title, description and long description
typestringNoFilter by resource type
pageintegerNoCurrent page (default: 1)
per_pageintegerNoNumber of items per page (default: 15)

Response

{
"data": [
{
"id": "resource_id",
"title": "resource Title",
"description": "resource Description",
"created_at": "2023-01-01T00:00:00Z",
"updated_at": "2023-01-01T00:00:00Z"
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"per_page": 10,
"to": 1,
"total": 1
}
}

Try it out!

Authentication

This endpoint requires Bearer token authentication.

Test Endpoint