Asana · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Asana Attachments API

5 actions 5 updates phrasing extends openapi/asana-attachments-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Asana's API. It is a proposal applied on top of the contract, not a document Asana publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/attachments/{attachment_gid}'].get
$.paths['/attachments/{attachment_gid}'].delete
$.paths['/attachments'].get
$.paths['/attachments'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Asana Attachments API
  version: 1.0.0
extends: openapi/asana-attachments-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-10-01'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 4
- target: $.paths['/attachments/{attachment_gid}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an attachment's details
      effect: read
      questions:
      - How do I fetch the full record of a file attached in Asana?
      - Can I look up an attachment's name and host by its ID?
      instructions:
      - text: Show attachment {attachment}.
        slots:
          attachment: path.attachment_gid
      - text: Fetch the full record of attachment {attachment}.
        slots:
          attachment: path.attachment_gid
      method: generated
      generated: '2026-10-01'
- target: $.paths['/attachments/{attachment_gid}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an attachment
      effect: destructive
      questions:
      - Can I remove a file attached to a task?
      - What does deleting an attachment return?
      instructions:
      - text: Delete attachment {attachment}.
        slots:
          attachment: path.attachment_gid
      - text: Remove the attached file {attachment}.
        slots:
          attachment: path.attachment_gid
      method: generated
      generated: '2026-10-01'
- target: $.paths['/attachments'].get
  update:
    x-apievangelist-phrasing:
      intent: List the files attached to a task or project
      effect: read
      questions:
      - Which files are attached to a task?
      - Can I list attachments on a project or project brief too?
      instructions:
      - text: List the attachments on {parent}.
        slots:
          parent: query.parent
      - text: Show every file attached to task {parent}.
        slots:
          parent: query.parent
      method: generated
      generated: '2026-10-01'
- target: $.paths['/attachments'].post
  update:
    x-apievangelist-phrasing:
      intent: Upload a file or link to a task
      effect: write
      questions:
      - How do I upload a file to a task?
      - Can I attach an external link instead of uploading a file?
      instructions:
      - text: Upload file {file} to task {parent}.
        slots:
          file: requestBody.file
          parent: requestBody.parent
      - text: Attach link {url} named {name} to {parent}.
        slots:
          url: requestBody.url
          name: requestBody.name
          parent: requestBody.parent
      method: generated
      generated: '2026-10-01'