POST/spaces/api/v1/templates/metrics.json
create a template metric recording when a global template has been used to create a page.
Request Examples
Example Request
POST
/spaces/api/v1/templates/metrics.jsoncurl --request GET \ --url https://{site_name}.teamwork.com/tags.json
Responses
- Code
- 201
- Type
- object
- Schema
- Description
- 201 Created
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
- Code
- 404
- Type
- object
- Schema
- Description
- 404 Not Found
- Code
- 500
- Type
- object
- Schema
- Description
- 500 Internal Server Error
201 Created
GlobalTemplateMetric
{
"globalTemplate": {
"createdAt": "2025-02-11T11:36:22.318Z",
"id": 0,
"installationId": 0,
"userId": 0
}
}