Projects
List available projects
List available projects
GET
https://api.usestencil.com/v1/projects
Query Parameters
Query previous result set
{
"meta": {
"next": null,
"previous": null,
"total_count": 1
},
"results": [
{
"created_at": "2021-05-06T07:00:21Z",
"description": "Test",
"favorite": false,
"id": "f2eb2dab-a861-4960-b5f4-d54c61552f7d",
"name": "Test project",
"self": "https://api.usestencil.com/api/v1/projects/f2eb2dab-a861-4960-b5f4-d54c61552f7d",
"templates": "https://api.usestencil.com/api/v1/projects/f2eb2dab-a861-4960-b5f4-d54c61552f7d/templates",
"updated_at": "2021-05-06T07:00:21Z"
}
]
}
The response usually include link to other related endpoints.
self
links to detail regarding the resource itself.
templates
links to endpoint to list templates related to the project.
Get specific project
GET
https://api.usestencil.com/v1/projects/:id
Path Parameters
{
"created_at": "2021-05-06T07:00:21Z",
"description": "Test",
"favorite": false,
"id": "f2eb2dab-a861-4960-b5f4-d54c61552f7d",
"name": "Test project",
"self": "https://api.usestencil.com/api/v1/projects/f2eb2dab-a861-4960-b5f4-d54c61552f7d",
"templates": "https://api.usestencil.com/api/v1/projects/f2eb2dab-a861-4960-b5f4-d54c61552f7d/templates",
"updated_at": "2021-05-06T07:00:21Z"
}