contentstack · Capability

Contentstack Launch API — File Uploads

Contentstack Launch API — File Uploads. 1 operations. Lead operation: Get project upload URL. Self-contained Naftiko capability covering one Contentstack business surface.

Run with Naftiko ContentstackFile Uploads

What You Can Do

GET
Getprojectuploadurl — Get project upload URL
/v1/projects/upload-url

MCP Tools

get-project-upload-url

Get project upload URL

read-only idempotent

Capability Spec

launch-file-uploads.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Contentstack Launch API — File Uploads
  description: 'Contentstack Launch API — File Uploads. 1 operations. Lead operation: Get project upload URL. Self-contained
    Naftiko capability covering one Contentstack business surface.'
  tags:
  - Contentstack
  - File Uploads
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CONTENTSTACK_API_KEY: CONTENTSTACK_API_KEY
capability:
  consumes:
  - type: http
    namespace: launch-file-uploads
    baseUri: https://launch-api.contentstack.com
    description: Contentstack Launch API — File Uploads business capability. Self-contained, no shared references.
    resources:
    - name: projects-upload-url
      path: /projects/upload-url
      operations:
      - name: getprojectuploadurl
        method: GET
        description: Get project upload URL
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.CONTENTSTACK_API_KEY}}'
  exposes:
  - type: rest
    namespace: launch-file-uploads-rest
    port: 8080
    description: REST adapter for Contentstack Launch API — File Uploads. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/projects/upload-url
      name: projects-upload-url
      description: REST surface for projects-upload-url.
      operations:
      - method: GET
        name: getprojectuploadurl
        description: Get project upload URL
        call: launch-file-uploads.getprojectuploadurl
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: launch-file-uploads-mcp
    port: 9090
    transport: http
    description: MCP adapter for Contentstack Launch API — File Uploads. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-project-upload-url
      description: Get project upload URL
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: launch-file-uploads.getprojectuploadurl
      outputParameters:
      - type: object
        mapping: $.