Dokploy · Capability

Dokploy API — customRole

Dokploy API — customRole. 6 operations. Lead operation: customRole.all. Self-contained Naftiko capability covering one Dokploy business surface.

Dokploy API — customRole is a Naftiko capability published by Dokploy, one of 48 capabilities the APIs.io network indexes for this provider. It bundles 6 operations across the GET and POST methods.

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

Tagged areas include Dokploy and customRole.

Run with Naftiko DokploycustomRole

What You Can Do

GET
Customrole all — customRole-all
/v1/customRole.all
POST
Customrole create — customRole-create
/v1/customRole.create
POST
Customrole update — customRole-update
/v1/customRole.update
POST
Customrole remove — customRole-remove
/v1/customRole.remove
GET
Customrole membersbyrole — customRole-membersByRole
/v1/customRole.membersByRole
GET
Customrole getstatements — customRole-getStatements
/v1/customRole.getStatements

MCP Tools

customRole-all

customRole-all

read-only idempotent
customRole-create

customRole-create

customRole-update

customRole-update

customRole-remove

customRole-remove

customRole-membersByRole

customRole-membersByRole

read-only idempotent
customRole-getStatements

customRole-getStatements

read-only idempotent

Capability Spec

dokploy-custom-role.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Dokploy API — customRole
  description: 'Dokploy API — customRole. 6 operations. Lead operation: customRole.all. Self-contained Naftiko capability covering one Dokploy
    business surface.'
  tags:
  - Dokploy
  - customRole
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    DOKPLOY_API_KEY: DOKPLOY_API_KEY
    DOKPLOY_URL: DOKPLOY_URL
capability:
  consumes:
  - type: http
    namespace: dokploy-custom-role
    baseUri: ${DOKPLOY_URL}/api
    description: Dokploy API — customRole business capability. Self-contained, no shared references.
    resources:
    - name: all
      path: /customRole.all
      operations:
      - name: customRole-all
        method: GET
        description: customRole-all
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: create
      path: /customRole.create
      operations:
      - name: customRole-create
        method: POST
        description: customRole-create
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body
          required: true
    - name: update
      path: /customRole.update
      operations:
      - name: customRole-update
        method: POST
        description: customRole-update
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body
          required: true
    - name: remove
      path: /customRole.remove
      operations:
      - name: customRole-remove
        method: POST
        description: customRole-remove
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body
          required: true
    - name: membersByRole
      path: /customRole.membersByRole
      operations:
      - name: customRole-membersByRole
        method: GET
        description: customRole-membersByRole
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: getStatements
      path: /customRole.getStatements
      operations:
      - name: customRole-getStatements
        method: GET
        description: customRole-getStatements
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: dokploy-custom-role-rest
    port: 8080
    description: REST adapter for Dokploy API — customRole. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/customRole.all
      name: all
      description: REST surface for all.
      operations:
      - method: GET
        name: customRole-all
        description: customRole-all
        call: dokploy-custom-role.customRole-all
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/customRole.create
      name: create
      description: REST surface for create.
      operations:
      - method: POST
        name: customRole-create
        description: customRole-create
        call: dokploy-custom-role.customRole-create
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/customRole.update
      name: update
      description: REST surface for update.
      operations:
      - method: POST
        name: customRole-update
        description: customRole-update
        call: dokploy-custom-role.customRole-update
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/customRole.remove
      name: remove
      description: REST surface for remove.
      operations:
      - method: POST
        name: customRole-remove
        description: customRole-remove
        call: dokploy-custom-role.customRole-remove
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/customRole.membersByRole
      name: membersByRole
      description: REST surface for membersByRole.
      operations:
      - method: GET
        name: customRole-membersByRole
        description: customRole-membersByRole
        call: dokploy-custom-role.customRole-membersByRole
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/customRole.getStatements
      name: getStatements
      description: REST surface for getStatements.
      operations:
      - method: GET
        name: customRole-getStatements
        description: customRole-getStatements
        call: dokploy-custom-role.customRole-getStatements
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: dokploy-custom-role-mcp
    port: 9090
    transport: http
    description: MCP adapter for Dokploy API — customRole. One tool per consumed operation, routed inline through this capability’s consumes block.
    tools:
    - name: customRole-all
      description: customRole-all
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: dokploy-custom-role.customRole-all
      outputParameters:
      - type: object
        mapping: $.
    - name: customRole-create
      description: customRole-create
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dokploy-custom-role.customRole-create
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: customRole-update
      description: customRole-update
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dokploy-custom-role.customRole-update
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: customRole-remove
      description: customRole-remove
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dokploy-custom-role.customRole-remove
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: customRole-membersByRole
      description: customRole-membersByRole
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: dokploy-custom-role.customRole-membersByRole
      outputParameters:
      - type: object
        mapping: $.
    - name: customRole-getStatements
      description: customRole-getStatements
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: dokploy-custom-role.customRole-getStatements
      outputParameters:
      - type: object
        mapping: $.