{"openapi":"3.0.0","info":{"description":"Social media management API — organizations, channels, posts & scheduling, ideas, content items, post metrics (Buffer GraphQL API)","version":"v1"},"servers":[{"description":"Social media management API — organizations, channels, posts & scheduling, ideas, content items, post metrics (Buffer GraphQL API)","url":"https://api.apirails.com/buffer"}],"paths":{"/":{"post":{"tags":["Mutations"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.buffer.com/reference.md#updatePostTemplate","api_endpoint":"https://api.buffer.com/"},"response_type":"json","summary":"Update Post Template","description":"Update a post template owned by the caller (or an internal template in the caller's organization, if the caller is an org admin/owner).","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"query":{"type":"string","description":"GraphQL document for the updatePostTemplate mutation. Send the operation with your own selection set; every field named here is documented in the Buffer API reference.","required":true},"variables":{"type":"object","description":"Variables for the updatePostTemplate mutation (its documented arguments).","required":true,"properties":{"input":{"type":"object","description":"Input for updating a post template. — Input for an end user updating a post template. Buffer-curated taxonomy fields are ignored; setting them is only available to official Buffer clients.","required":true}}}}},"example":{"query":"mutation Updateposttemplate($input: UpdatePostTemplateInput!) { updatePostTemplate(input: $input) }","variables":{}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"security":[{"bearerAuth":[]}]}