APIs.io Engineering Platform Cloudflare API — R2 Bucket

APIs.io Engineering Platform Cloudflare API — R2 Bucket. 14 operations. Lead operation: APIs.io Engineering Platform List Buckets. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering PlatformR2 Bucket

What You Can Do

GET
R2listbuckets — APIs.io Engineering Platform List Buckets
/v1/accounts/{account-id}/r2/buckets
POST
R2createbucket — APIs.io Engineering Platform Create Bucket
/v1/accounts/{account-id}/r2/buckets
DELETE
R2deletebucket — APIs.io Engineering Platform Delete Bucket
/v1/accounts/{account-id}/r2/buckets/{bucket-name}
GET
R2getbucket — APIs.io Engineering Platform Get Bucket
/v1/accounts/{account-id}/r2/buckets/{bucket-name}
GET
R2listcustomdomains — APIs.io Engineering Platform List Custom Domains of Bucket
/v1/accounts/{account-id}/r2/buckets/{bucket-name}/domains/custom
POST
R2addcustomdomain — APIs.io Engineering Platform Attach Custom Domain To Bucket
/v1/accounts/{account-id}/r2/buckets/{bucket-name}/domains/custom
DELETE
R2deletecustomdomain — APIs.io Engineering Platform Remove Custom Domain From Bucket
/v1/accounts/{account-id}/r2/buckets/{bucket-name}/domains/custom/{domain-name}
PUT
R2editcustomdomainsettings — APIs.io Engineering Platform Configure Custom Domain Settings
/v1/accounts/{account-id}/r2/buckets/{bucket-name}/domains/custom/{domain-name}
GET
R2getbucketpublicpolicy — APIs.io Engineering Platform Get r2.dev Domain of Bucket
/v1/accounts/{account-id}/r2/buckets/{bucket-name}/domains/managed
PUT
R2putbucketpublicpolicy — APIs.io Engineering Platform Update r2.dev Domain of Bucket
/v1/accounts/{account-id}/r2/buckets/{bucket-name}/domains/managed
DELETE
R2deletebucketsippyconfig — APIs.io Engineering Platform Disable Sippy
/v1/accounts/{account-id}/r2/buckets/{bucket-name}/sippy
GET
R2getbucketsippyconfig — APIs.io Engineering Platform Get Sippy Configuration
/v1/accounts/{account-id}/r2/buckets/{bucket-name}/sippy
PUT
R2putbucketsippyconfig — APIs.io Engineering Platform Enable Sippy
/v1/accounts/{account-id}/r2/buckets/{bucket-name}/sippy
POST
R2createtempaccesscredentials — APIs.io Engineering Platform Create Temporary Access Credentials
/v1/accounts/{account-id}/r2/temp-access-credentials

MCP Tools

apis-io-engineering-platform-list-buckets

APIs.io Engineering Platform List Buckets

read-only idempotent
apis-io-engineering-platform-create-bucket

APIs.io Engineering Platform Create Bucket

apis-io-engineering-platform-delete-bucket

APIs.io Engineering Platform Delete Bucket

idempotent
apis-io-engineering-platform-get-bucket

APIs.io Engineering Platform Get Bucket

read-only idempotent
apis-io-engineering-platform-list-custom

APIs.io Engineering Platform List Custom Domains of Bucket

read-only idempotent
apis-io-engineering-platform-attach-custom

APIs.io Engineering Platform Attach Custom Domain To Bucket

apis-io-engineering-platform-remove-custom

APIs.io Engineering Platform Remove Custom Domain From Bucket

idempotent
apis-io-engineering-platform-configure-custom

APIs.io Engineering Platform Configure Custom Domain Settings

idempotent
apis-io-engineering-platform-get-r2-dev

APIs.io Engineering Platform Get r2.dev Domain of Bucket

read-only idempotent
apis-io-engineering-platform-update-r2-dev

APIs.io Engineering Platform Update r2.dev Domain of Bucket

idempotent
apis-io-engineering-platform-disable-sippy

APIs.io Engineering Platform Disable Sippy

idempotent
apis-io-engineering-platform-get-sippy

APIs.io Engineering Platform Get Sippy Configuration

read-only idempotent
apis-io-engineering-platform-enable-sippy

APIs.io Engineering Platform Enable Sippy

idempotent
apis-io-engineering-platform-create-temporary

APIs.io Engineering Platform Create Temporary Access Credentials

Capability Spec

cloudflare-r2-bucket.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform Cloudflare API — R2 Bucket
  description: 'APIs.io Engineering Platform Cloudflare API — R2 Bucket. 14 operations. Lead operation: APIs.io Engineering
    Platform List Buckets. Self-contained Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - R2 Bucket
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloudflare-r2-bucket
    baseUri: ''
    description: APIs.io Engineering Platform Cloudflare API — R2 Bucket business capability. Self-contained, no shared references.
    resources:
    - name: accounts-account_id-r2-buckets
      path: /accounts/{account_id}/r2/buckets
      operations:
      - name: r2listbuckets
        method: GET
        description: APIs.io Engineering Platform List Buckets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: name_contains
          in: query
          type: string
        - name: start_after
          in: query
          type: string
        - name: per_page
          in: query
          type: number
        - name: order
          in: query
          type: string
        - name: direction
          in: query
          type: string
        - name: cursor
          in: query
          type: string
      - name: r2createbucket
        method: POST
        description: APIs.io Engineering Platform Create Bucket
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-r2-buckets-bucket_name
      path: /accounts/{account_id}/r2/buckets/{bucket_name}
      operations:
      - name: r2deletebucket
        method: DELETE
        description: APIs.io Engineering Platform Delete Bucket
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: bucket_name
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
      - name: r2getbucket
        method: GET
        description: APIs.io Engineering Platform Get Bucket
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: bucket_name
          in: path
          type: string
          required: true
    - name: accounts-account_id-r2-buckets-bucket_name-domains-custom
      path: /accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom
      operations:
      - name: r2listcustomdomains
        method: GET
        description: APIs.io Engineering Platform List Custom Domains of Bucket
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: bucket_name
          in: path
          type: string
          required: true
      - name: r2addcustomdomain
        method: POST
        description: APIs.io Engineering Platform Attach Custom Domain To Bucket
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: bucket_name
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-r2-buckets-bucket_name-domains-custom-domain_name
      path: /accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom/{domain_name}
      operations:
      - name: r2deletecustomdomain
        method: DELETE
        description: APIs.io Engineering Platform Remove Custom Domain From Bucket
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: bucket_name
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: domain_name
          in: path
          type: string
          required: true
      - name: r2editcustomdomainsettings
        method: PUT
        description: APIs.io Engineering Platform Configure Custom Domain Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: bucket_name
          in: path
          type: string
          required: true
        - name: domain_name
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-r2-buckets-bucket_name-domains-managed
      path: /accounts/{account_id}/r2/buckets/{bucket_name}/domains/managed
      operations:
      - name: r2getbucketpublicpolicy
        method: GET
        description: APIs.io Engineering Platform Get r2.dev Domain of Bucket
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: bucket_name
          in: path
          type: string
          required: true
      - name: r2putbucketpublicpolicy
        method: PUT
        description: APIs.io Engineering Platform Update r2.dev Domain of Bucket
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: bucket_name
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-r2-buckets-bucket_name-sippy
      path: /accounts/{account_id}/r2/buckets/{bucket_name}/sippy
      operations:
      - name: r2deletebucketsippyconfig
        method: DELETE
        description: APIs.io Engineering Platform Disable Sippy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: bucket_name
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
      - name: r2getbucketsippyconfig
        method: GET
        description: APIs.io Engineering Platform Get Sippy Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: bucket_name
          in: path
          type: string
          required: true
      - name: r2putbucketsippyconfig
        method: PUT
        description: APIs.io Engineering Platform Enable Sippy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: bucket_name
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-r2-temp-access-credentials
      path: /accounts/{account_id}/r2/temp-access-credentials
      operations:
      - name: r2createtempaccesscredentials
        method: POST
        description: APIs.io Engineering Platform Create Temporary Access Credentials
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloudflare-r2-bucket-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform Cloudflare API — R2 Bucket. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/accounts/{account-id}/r2/buckets
      name: accounts-account-id-r2-buckets
      description: REST surface for accounts-account_id-r2-buckets.
      operations:
      - method: GET
        name: r2listbuckets
        description: APIs.io Engineering Platform List Buckets
        call: cloudflare-r2-bucket.r2listbuckets
        with:
          account_id: rest.account_id
          name_contains: rest.name_contains
          start_after: rest.start_after
          per_page: rest.per_page
          order: rest.order
          direction: rest.direction
          cursor: rest.cursor
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: r2createbucket
        description: APIs.io Engineering Platform Create Bucket
        call: cloudflare-r2-bucket.r2createbucket
        with:
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/r2/buckets/{bucket-name}
      name: accounts-account-id-r2-buckets-bucket-name
      description: REST surface for accounts-account_id-r2-buckets-bucket_name.
      operations:
      - method: DELETE
        name: r2deletebucket
        description: APIs.io Engineering Platform Delete Bucket
        call: cloudflare-r2-bucket.r2deletebucket
        with:
          bucket_name: rest.bucket_name
          account_id: rest.account_id
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: r2getbucket
        description: APIs.io Engineering Platform Get Bucket
        call: cloudflare-r2-bucket.r2getbucket
        with:
          account_id: rest.account_id
          bucket_name: rest.bucket_name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/r2/buckets/{bucket-name}/domains/custom
      name: accounts-account-id-r2-buckets-bucket-name-domains-custom
      description: REST surface for accounts-account_id-r2-buckets-bucket_name-domains-custom.
      operations:
      - method: GET
        name: r2listcustomdomains
        description: APIs.io Engineering Platform List Custom Domains of Bucket
        call: cloudflare-r2-bucket.r2listcustomdomains
        with:
          account_id: rest.account_id
          bucket_name: rest.bucket_name
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: r2addcustomdomain
        description: APIs.io Engineering Platform Attach Custom Domain To Bucket
        call: cloudflare-r2-bucket.r2addcustomdomain
        with:
          account_id: rest.account_id
          bucket_name: rest.bucket_name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/r2/buckets/{bucket-name}/domains/custom/{domain-name}
      name: accounts-account-id-r2-buckets-bucket-name-domains-custom-domain-name
      description: REST surface for accounts-account_id-r2-buckets-bucket_name-domains-custom-domain_name.
      operations:
      - method: DELETE
        name: r2deletecustomdomain
        description: APIs.io Engineering Platform Remove Custom Domain From Bucket
        call: cloudflare-r2-bucket.r2deletecustomdomain
        with:
          bucket_name: rest.bucket_name
          account_id: rest.account_id
          domain_name: rest.domain_name
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: r2editcustomdomainsettings
        description: APIs.io Engineering Platform Configure Custom Domain Settings
        call: cloudflare-r2-bucket.r2editcustomdomainsettings
        with:
          account_id: rest.account_id
          bucket_name: rest.bucket_name
          domain_name: rest.domain_name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/r2/buckets/{bucket-name}/domains/managed
      name: accounts-account-id-r2-buckets-bucket-name-domains-managed
      description: REST surface for accounts-account_id-r2-buckets-bucket_name-domains-managed.
      operations:
      - method: GET
        name: r2getbucketpublicpolicy
        description: APIs.io Engineering Platform Get r2.dev Domain of Bucket
        call: cloudflare-r2-bucket.r2getbucketpublicpolicy
        with:
          account_id: rest.account_id
          bucket_name: rest.bucket_name
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: r2putbucketpublicpolicy
        description: APIs.io Engineering Platform Update r2.dev Domain of Bucket
        call: cloudflare-r2-bucket.r2putbucketpublicpolicy
        with:
          account_id: rest.account_id
          bucket_name: rest.bucket_name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/r2/buckets/{bucket-name}/sippy
      name: accounts-account-id-r2-buckets-bucket-name-sippy
      description: REST surface for accounts-account_id-r2-buckets-bucket_name-sippy.
      operations:
      - method: DELETE
        name: r2deletebucketsippyconfig
        description: APIs.io Engineering Platform Disable Sippy
        call: cloudflare-r2-bucket.r2deletebucketsippyconfig
        with:
          bucket_name: rest.bucket_name
          account_id: rest.account_id
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: r2getbucketsippyconfig
        description: APIs.io Engineering Platform Get Sippy Configuration
        call: cloudflare-r2-bucket.r2getbucketsippyconfig
        with:
          account_id: rest.account_id
          bucket_name: rest.bucket_name
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: r2putbucketsippyconfig
        description: APIs.io Engineering Platform Enable Sippy
        call: cloudflare-r2-bucket.r2putbucketsippyconfig
        with:
          account_id: rest.account_id
          bucket_name: rest.bucket_name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/r2/temp-access-credentials
      name: accounts-account-id-r2-temp-access-credentials
      description: REST surface for accounts-account_id-r2-temp-access-credentials.
      operations:
      - method: POST
        name: r2createtempaccesscredentials
        description: APIs.io Engineering Platform Create Temporary Access Credentials
        call: cloudflare-r2-bucket.r2createtempaccesscredentials
        with:
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloudflare-r2-bucket-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIs.io Engineering Platform Cloudflare API — R2 Bucket. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: apis-io-engineering-platform-list-buckets
      description: APIs.io Engineering Platform List Buckets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-r2-bucket.r2listbuckets
      with:
        account_id: tools.account_id
        name_contains: tools.name_contains
        start_after: tools.start_after
        per_page: tools.per_page
        order: tools.order
        direction: tools.direction
        cursor: tools.cursor
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-bucket
      description: APIs.io Engineering Platform Create Bucket
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-r2-bucket.r2createbucket
      with:
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-delete-bucket
      description: APIs.io Engineering Platform Delete Bucket
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloudflare-r2-bucket.r2deletebucket
      with:
        bucket_name: tools.bucket_name
        account_id: tools.account_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-bucket
      description: APIs.io Engineering Platform Get Bucket
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-r2-bucket.r2getbucket
      with:
        account_id: tools.account_id
        bucket_name: tools.bucket_name
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-custom
      description: APIs.io Engineering Platform List Custom Domains of Bucket
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-r2-bucket.r2listcustomdomains
      with:
        account_id: tools.account_id
        bucket_name: tools.bucket_name
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-attach-custom
      description: APIs.io Engineering Platform Attach Custom Domain To Bucket
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-r2-bucket.r2addcustomdomain
      with:
        account_id: tools.account_id
        bucket_name: tools.bucket_name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-remove-custom
      description: APIs.io Engineering Platform Remove Custom Domain From Bucket
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloudflare-r2-bucket.r2deletecustomdomain
      with:
        bucket_name: tools.bucket_name
        account_id: tools.account_id
        domain_name: tools.domain_name
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-configure-custom
      description: APIs.io Engineering Platform Configure Custom Domain Settings
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloudflare-r2-bucket.r2editcustomdomainsettings
      with:
        account_id: tools.account_id
        bucket_name: tools.bucket_name
        domain_name: tools.domain_name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-r2-dev
      description: APIs.io Engineering Platform Get r2.dev Domain of Bucket
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-r2-bucket.r2getbucketpublicpolicy
      with:
        account_id: tools.account_id
        bucket_name: tools.bucket_name
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-r2-dev
      description: APIs.io Engineering Platform Update r2.dev Domain of Bucket
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloudflare-r2-bucket.r2putbucketpublicpolicy
      with:
        account_id: tools.account_id
        bucket_name: tools.bucket_name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-disable-sippy
      description: APIs.io Engineering Platform Disable Sippy
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloudflare-r2-bucket.r2deletebucketsippyconfig
      with:
        bucket_name: tools.bucket_name
        account_id: tools.account_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-sippy
      description: APIs.io Engineering Platform Get Sippy Configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-r2-bucket.r2getbucketsippyconfig
      with:
        account_id: tools.account_id
        bucket_name: tools.bucket_name
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-enable-sippy
      description: APIs.io Engineering Platform Enable Sippy
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloudflare-r2-bucket.r2putbucketsippyconfig
      with:
        account_id: tools.account_id
        bucket_name: tools.bucket_name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-temporary
      description: APIs.io Engineering Platform Create Temporary Access Credentials
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-r2-bucket.r2createtempaccesscredentials
      with:
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.