PeopleSoft · Capability

PeopleSoft REST API — Resources

PeopleSoft REST API — Resources. 2 operations. Lead operation: PeopleSoft Get Resource. Self-contained Naftiko capability covering one Peoplesoft business surface.

Run with Naftiko PeoplesoftResources

What You Can Do

GET
Getresource — PeopleSoft Get Resource
/v1/{resource}
POST
Createresource — PeopleSoft Create Resource
/v1/{resource}

MCP Tools

peoplesoft-get-resource

PeopleSoft Get Resource

read-only idempotent
peoplesoft-create-resource

PeopleSoft Create Resource

Capability Spec

rest-resources.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: PeopleSoft REST API — Resources
  description: 'PeopleSoft REST API — Resources. 2 operations. Lead operation: PeopleSoft Get Resource. Self-contained Naftiko
    capability covering one Peoplesoft business surface.'
  tags:
  - Peoplesoft
  - Resources
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PEOPLESOFT_API_KEY: PEOPLESOFT_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-resources
    baseUri: https://{hostname}:{port}/psft/api/v1
    description: PeopleSoft REST API — Resources business capability. Self-contained, no shared references.
    resources:
    - name: resource
      path: /{resource}
      operations:
      - name: getresource
        method: GET
        description: PeopleSoft Get Resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resource
          in: path
          type: string
          description: The PeopleSoft resource name
          required: true
      - name: createresource
        method: POST
        description: PeopleSoft Create Resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resource
          in: path
          type: string
          description: The PeopleSoft resource name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.PEOPLESOFT_API_KEY}}'
  exposes:
  - type: rest
    namespace: rest-resources-rest
    port: 8080
    description: REST adapter for PeopleSoft REST API — Resources. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/{resource}
      name: resource
      description: REST surface for resource.
      operations:
      - method: GET
        name: getresource
        description: PeopleSoft Get Resource
        call: rest-resources.getresource
        with:
          resource: rest.resource
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createresource
        description: PeopleSoft Create Resource
        call: rest-resources.createresource
        with:
          resource: rest.resource
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-resources-mcp
    port: 9090
    transport: http
    description: MCP adapter for PeopleSoft REST API — Resources. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: peoplesoft-get-resource
      description: PeopleSoft Get Resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-resources.getresource
      with:
        resource: tools.resource
      outputParameters:
      - type: object
        mapping: $.
    - name: peoplesoft-create-resource
      description: PeopleSoft Create Resource
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-resources.createresource
      with:
        resource: tools.resource
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.