Cvent · Capability

Cvent REST APIs — File

Cvent REST APIs — File. 2 operations. Lead operation: Get File Location. Self-contained Naftiko capability covering one business surface.

Cvent REST APIs — File is a Naftiko capability published by Cvent, one of 52 capabilities the APIs.io network indexes for this provider. It bundles 2 operations across the POST and GET methods rooted at /v1/files.

The capability includes 1 read-only operation and 1 state-changing operation. Lead operation: Upload a File. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Cvent and File.

Run with Naftiko CventFile

What You Can Do

POST
Uploadfile — Upload a File
/v1/files
GET
Getfile — Get File Location
/v1/files/{id}

MCP Tools

cvent-uploadfile

Upload a File

cvent-getfile

Get File Location

read-only idempotent

Capability Spec

rest-file.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Cvent REST APIs — File
  description: 'Cvent REST APIs — File. 2 operations. Lead operation: Get File Location. Self-contained Naftiko capability covering one business surface.'
  tags:
  - Cvent
  - File
  created: '2026-05-20'
  modified: '2026-05-20'
binds:
- namespace: env
  keys:
    CVENT_API_KEY: CVENT_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-file
    baseUri: https://api-platform.cvent.com/ea
    description: Cvent REST APIs — File business capability. Self-contained, no shared references.
    resources:
    - name: files
      path: /files
      operations:
      - name: uploadfile
        method: POST
        description: Upload a File
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: files-id
      path: /files/{id}
      operations:
      - name: getfile
        method: GET
        description: Get File Location
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Path parameter id.
          required: true
  exposes:
  - type: rest
    namespace: rest-file-rest
    port: 8080
    description: REST adapter for Cvent REST APIs — File. One resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/files
      name: files
      description: REST surface for files.
      operations:
      - method: POST
        name: uploadfile
        description: Upload a File
        call: rest-file.uploadfile
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/files/{id}
      name: files-id
      description: REST surface for files-id.
      operations:
      - method: GET
        name: getfile
        description: Get File Location
        call: rest-file.getfile
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-file-mcp
    port: 9090
    transport: http
    description: MCP adapter for Cvent REST APIs — File. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: cvent-uploadfile
      description: Upload a File
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-file.uploadfile
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: cvent-getfile
      description: Get File Location
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-file.getfile
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.