List template project commit history

Returns bounded history from the Artifact repository default branch. Use this endpoint to list template project commit history through the Samva email API.

GET
/v1/templates/{id}/workspace/history

Returns bounded history from the Artifact repository default branch.

x-api-key<token>

In: header

Path Parameters

id*string
Match^tmpl_[0-9a-hjkmnp-tv-z]{16,24}$

Query Parameters

limit?string|null

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/templates/string/workspace/history"
{  "projectId": "string",  "head": "string",  "commits": [    {      "commit": "string",      "tree": "string",      "parentCommit": "string",      "message": "string",      "committedAt": "string"    }  ],  "publication": {    "id": "string",    "commit": "string"  }}