Description: Gets a list of templates.
Security: Requires a valid user
Usage: GET api/v1/templates
Consumes: application/json
URL Parameters: None
Query Parameters:
Parameter | Type | Description | Required/Optional |
---|---|---|---|
| String | A filter on the list based on the `id` property of the template. Expects a comma separated string of ids. | Optional |
| String | A filter on the list based on the `name` property of the template. Expects a comma separated string of names. | Optional |
| String | A filter on the list based on the `syntaxVersion` property of the template. Expects a comma separated string of syntaxVersions. | Optional |
Produces: application/json
Sample Response:
[ { "id": 1, "namespace": "jfrog", "name": "DockerBuildAndPush", "syntaxVersion": "1.0.0", "templateSourceId": null, "latestSha": null, "isSyncing": false, "lastSyncStatusCode": null, "lastSyncStartedAt": null, "lastSyncEndedAt": null, "lastSyncLogs": null, "retiredAt": null, "createdAt": "2020-10-21T00:00:00.000Z", "updatedAt": "2020-10-21T00:00:00.000Z" } ]
Response Codes:
200: Success