Get Templates by Id

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Gets a template based on Id.

Security: Requires a valid user

Usage: GET api/v1/templates/{templateId}

Consumes: application/json

URL Parameters:

Parameter

Type

Description

Required/Optional

templateId

Integer

Id of the template.

Required

Produces: application/json

Sample Response:

{
  "id": 1,
  "name": "foo",
  "name": "sample_node",
  "syntaxVersion": "latest",
  "retiredAt: null,
  "lastSyncLogs": null,
  "lastSyncEndedAt": null,
  "isSyncing": false,
  "lastSyncStartedAt": null,
  "lastSyncEndedAt": null,
  "latestSha": null,
  "namespace": "foo",
  "createdAt": "2019-04-15T05:39:36.104Z",
  "updatedAt": "2019-04-15T05:39:43.286Z"
}

Response Codes:

200: Success