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,
"orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"credential": {
"secret": "",
"username": ""
},
"description": "",
"name": "<string>",
"path": "<string>",
"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 length: 255
path
string<uri>
required
Maximum length: 253
orgId
string<uuid>
credential
object
description
string
default:""
Maximum length: 4096
status
enum<string>
default:published
Available options:
draft,
published,
unpublished