OpenShift · Capability

openshift-rest-api — ProjectRequests

openshift-rest-api — ProjectRequests. 2 operations. Lead operation: Openshift List Project Requests. Self-contained Naftiko capability covering one Openshift business surface.

Run with Naftiko OpenshiftProjectRequests

What You Can Do

GET
Listprojectrequest — Openshift List Project Requests
/v1/apis/project-openshift-io/v1/projectrequests
POST
Createprojectrequest — Openshift Create a Project Request
/v1/apis/project-openshift-io/v1/projectrequests

MCP Tools

openshift-list-project-requests

Openshift List Project Requests

read-only idempotent
openshift-create-project-request

Openshift Create a Project Request

Capability Spec

rest-projectrequests.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: openshift-rest-api — ProjectRequests
  description: 'openshift-rest-api — ProjectRequests. 2 operations. Lead operation: Openshift List Project Requests. Self-contained
    Naftiko capability covering one Openshift business surface.'
  tags:
  - Openshift
  - ProjectRequests
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    OPENSHIFT_API_KEY: OPENSHIFT_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-projectrequests
    baseUri: https://api.openshift.com
    description: openshift-rest-api — ProjectRequests business capability. Self-contained, no shared references.
    resources:
    - name: apis-project.openshift.io-v1-projectrequests
      path: /apis/project.openshift.io/v1/projectrequests
      operations:
      - name: listprojectrequest
        method: GET
        description: Openshift List Project Requests
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createprojectrequest
        method: POST
        description: Openshift Create a Project Request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.OPENSHIFT_API_KEY}}'
  exposes:
  - type: rest
    namespace: rest-projectrequests-rest
    port: 8080
    description: REST adapter for openshift-rest-api — ProjectRequests. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/apis/project-openshift-io/v1/projectrequests
      name: apis-project-openshift-io-v1-projectrequests
      description: REST surface for apis-project.openshift.io-v1-projectrequests.
      operations:
      - method: GET
        name: listprojectrequest
        description: Openshift List Project Requests
        call: rest-projectrequests.listprojectrequest
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createprojectrequest
        description: Openshift Create a Project Request
        call: rest-projectrequests.createprojectrequest
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-projectrequests-mcp
    port: 9090
    transport: http
    description: MCP adapter for openshift-rest-api — ProjectRequests. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: openshift-list-project-requests
      description: Openshift List Project Requests
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-projectrequests.listprojectrequest
      outputParameters:
      - type: object
        mapping: $.
    - name: openshift-create-project-request
      description: Openshift Create a Project Request
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-projectrequests.createprojectrequest
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.