Skip to main content
GET
/
v1
/
templates
/
{id}
Get template
curl --request GET \
  --url https://console.gmicloud.ai/api/v1/templates/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "official": true,
  "name": "<string>",
  "path": "<string>",
  "orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "credential": {
    "secret": "",
    "username": ""
  },
  "description": "",
  "status": "published"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Response

successful

id
string<uuid>
required
official
boolean
required

true means the template is provided by GMI Cloud and it's read only.

name
string
required
Maximum string length: 255
path
string<uri>
required
Maximum string length: 253
orgId
string<uuid>
credential
object
description
string
default:""
Maximum string length: 4096
status
enum<string>
default:published
Available options:
draft,
published,
unpublished