action influxdata_post_documents_templates { label: "Create a template" provider: influxdata method: POST path: "/documents/templates" encoding: json input: { type: "object" required: ["content", "meta"] properties: { content: { type: "object" } labels: { type: "array" description: "An array of label IDs to be added as labels to the document." items: { type: "string" } } meta: { type: "object" required: ["name", "version"] properties: { createdAt: { type: "string" format: "date-time" } description: { type: "string" } name: { type: "string" } templateID: { type: "string" } type: { type: "string" } updatedAt: { type: "string" format: "date-time" } version: { type: "string" } } } org: { type: "string" description: "The organization Name. Specify either `orgID` or `org`." } orgID: { type: "string" description: "The organization Name. Specify either `orgID` or `org`." } } } output: { type: "object" required: ["content", "id", "meta"] properties: { content: { type: "object" } id: { type: "string" } labels: { type: "array" items: { type: "object" properties: { id: { type: "string" } name: { type: "string" } orgID: { type: "string" } properties: { type: "object" description: "Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value." } } } } links: { type: "object" properties: { self: { type: "string" format: "uri" description: "URI of resource." } } } meta: { type: "object" required: ["name", "version"] properties: { createdAt: { type: "string" format: "date-time" } description: { type: "string" } name: { type: "string" } templateID: { type: "string" } type: { type: "string" } updatedAt: { type: "string" format: "date-time" } version: { type: "string" } } } } } }