align
default

List the goal templates for the account.

Changed on
get/goal_templates/{id}

Request

Response

List of the goal templates for the account.

availableboolean required

Whether the templates is avaiable for use.

idinteger required

Identifier of the template.

namestring required

Name of the template.

repositoriesRepositoryID[]

Set of repositories. An empty list raises a bad response 400. Duplicates are automatically ignored.

Example response

[
  {
    "available": false,
    "id": 42,
    "metric": "pr-release-time",
    "name": "Untitled Template 0"
  },
  {
    "available": true,
    "id": 43,
    "metric": "jira-raised",
    "name": "Untitled Template 1",
    "repositories": [
      "github.com/athenianco/athenian-webapp"
    ]
  }
]

Changes

    • warning

      added the new jira-acknowledge-time-below-threshold-ratio enum value to the ///// response property for the response status

    • warning

      added the new jira-life-time-below-threshold-ratio enum value to the ///// response property for the response status

    • warning

      added the new pr-cycle-time-below-threshold-ratio enum value to the ///// response property for the response status

    • warning

      added the new pr-live-cycle-count enum value to the ///// response property for the response status

    • warning

      added the new pr-live-cycle-count-q enum value to the ///// response property for the response status

    • warning

      added the new pr-live-cycle-time enum value to the ///// response property for the response status

    • warning

      added the new pr-merging-time-below-threshold-ratio enum value to the ///// response property for the response status

    • warning

      added the new pr-wip-time-below-threshold-ratio enum value to the ///// response property for the response status

    • info

      added the required property / to the response with the status