Deno · Capability

Deno Deploy REST API — Projects

Deno Deploy REST API — Projects. 6 operations. Lead operation: List projects. Self-contained Naftiko capability covering one Deno business surface.

Run with Naftiko DenoProjects

What You Can Do

GET
Listprojects — List projects
/v1/organizations/{organizationid}/projects
POST
Createproject — Create project
/v1/organizations/{organizationid}/projects
GET
Getproject — Get project
/v1/projects/{projectid}
PATCH
Updateproject — Update project
/v1/projects/{projectid}
DELETE
Deleteproject — Delete project
/v1/projects/{projectid}
GET
Getprojectanalytics — Get project analytics
/v1/projects/{projectid}/analytics

MCP Tools

list-projects

List projects

read-only idempotent
create-project

Create project

get-project

Get project

read-only idempotent
update-project

Update project

idempotent
delete-project

Delete project

idempotent
get-project-analytics

Get project analytics

read-only idempotent

Capability Spec

deploy-rest-projects.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Deno Deploy REST API — Projects
  description: 'Deno Deploy REST API — Projects. 6 operations. Lead operation: List projects. Self-contained Naftiko capability
    covering one Deno business surface.'
  tags:
  - Deno
  - Projects
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DENO_API_KEY: DENO_API_KEY
capability:
  consumes:
  - type: http
    namespace: deploy-rest-projects
    baseUri: https://api.deno.com/v1
    description: Deno Deploy REST API — Projects business capability. Self-contained, no shared references.
    resources:
    - name: organizations-organizationId-projects
      path: /organizations/{organizationId}/projects
      operations:
      - name: listprojects
        method: GET
        description: List projects
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createproject
        method: POST
        description: Create project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: projects-projectId
      path: /projects/{projectId}
      operations:
      - name: getproject
        method: GET
        description: Get project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateproject
        method: PATCH
        description: Update project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteproject
        method: DELETE
        description: Delete project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: projects-projectId-analytics
      path: /projects/{projectId}/analytics
      operations:
      - name: getprojectanalytics
        method: GET
        description: Get project analytics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: since
          in: query
          type: string
          description: Start of the analytics time range in RFC 3339 format
          required: true
        - name: until
          in: query
          type: string
          description: End of the analytics time range in RFC 3339 format
          required: true
    authentication:
      type: bearer
      token: '{{env.DENO_API_KEY}}'
  exposes:
  - type: rest
    namespace: deploy-rest-projects-rest
    port: 8080
    description: REST adapter for Deno Deploy REST API — Projects. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/organizations/{organizationid}/projects
      name: organizations-organizationid-projects
      description: REST surface for organizations-organizationId-projects.
      operations:
      - method: GET
        name: listprojects
        description: List projects
        call: deploy-rest-projects.listprojects
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createproject
        description: Create project
        call: deploy-rest-projects.createproject
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectid}
      name: projects-projectid
      description: REST surface for projects-projectId.
      operations:
      - method: GET
        name: getproject
        description: Get project
        call: deploy-rest-projects.getproject
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateproject
        description: Update project
        call: deploy-rest-projects.updateproject
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteproject
        description: Delete project
        call: deploy-rest-projects.deleteproject
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectid}/analytics
      name: projects-projectid-analytics
      description: REST surface for projects-projectId-analytics.
      operations:
      - method: GET
        name: getprojectanalytics
        description: Get project analytics
        call: deploy-rest-projects.getprojectanalytics
        with:
          since: rest.since
          until: rest.until
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: deploy-rest-projects-mcp
    port: 9090
    transport: http
    description: MCP adapter for Deno Deploy REST API — Projects. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-projects
      description: List projects
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: deploy-rest-projects.listprojects
      outputParameters:
      - type: object
        mapping: $.
    - name: create-project
      description: Create project
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: deploy-rest-projects.createproject
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-project
      description: Get project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: deploy-rest-projects.getproject
      outputParameters:
      - type: object
        mapping: $.
    - name: update-project
      description: Update project
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: deploy-rest-projects.updateproject
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-project
      description: Delete project
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: deploy-rest-projects.deleteproject
      outputParameters:
      - type: object
        mapping: $.
    - name: get-project-analytics
      description: Get project analytics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: deploy-rest-projects.getprojectanalytics
      with:
        since: tools.since
        until: tools.until
      outputParameters:
      - type: object
        mapping: $.