This org's community templates, drafts and published
GEThttps://api.instacloud.com/orgs/{orgId}/templates
Token scope: account · org — read-only tokens allowed.
One summary per template, with no services, variables or publish requirements. getOrgTemplate serves one template in full.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes |
Responses
200
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
templates | object[] | yes | |
templates.id | string | yes | The draft's stable id. A rename of its code keeps it, and a new draft gets a new one, even under a code a deleted draft had. Routes and editor links address a draft by its code. |
templates.code | string | yes | |
templates.orgId | string | yes | |
templates.sourceProjectId | string | null | yes | |
templates.blank | boolean | yes | Created with POST /orgs/{orgId}/templates, with no project behind it: every service is one the author added, and Regenerate From Project answers 400. A generated draft whose project was deleted is not blank. |
templates.status | "draft" | "published" | "unpublished" | yes | |
templates.publishedVersion | string | null | yes | |
templates.hasUnpublishedChanges | boolean | yes | |
templates.takenDown | boolean | yes | Staff took this template down. It cannot be republished. |
templates.name | string | yes | |
templates.tagline | string | null | yes | |
templates.category | string | null | yes | |
templates.logoUrl | string | null | yes | |
templates.updatedAt | string | yes | |
templates.deployCount | integer | yes | Succeeded deployments of this template. |
templates.totalProjects | integer | yes | Distinct projects that deployed this template since its first publish, any outcome: the number the gallery card shows (the catalog's totalProjects). |
404
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |
429
This user listed the templates too many times in the last minute. Retry later.
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |