Xerox · Capability

Xerox Public Print API — Provider Types

Xerox Public Print API — Provider Types. 2 operations. Lead operation: List Provider Types. Self-contained Naftiko capability covering one Xerox business surface.

Run with Naftiko XeroxProvider Types

What You Can Do

GET
Listprovidertypes — List Provider Types
/v1/providertypes
PUT
Createprovidertype — Create Provider Type
/v1/providertypes

MCP Tools

list-provider-types

List Provider Types

read-only idempotent
create-provider-type

Create Provider Type

idempotent

Capability Spec

public-print-provider-types.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Xerox Public Print API — Provider Types
  description: 'Xerox Public Print API — Provider Types. 2 operations. Lead operation: List Provider Types. Self-contained
    Naftiko capability covering one Xerox business surface.'
  tags:
  - Xerox
  - Provider Types
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    XEROX_API_KEY: XEROX_API_KEY
capability:
  consumes:
  - type: http
    namespace: public-print-provider-types
    baseUri: https://publicprintapi.services.xerox.com/api/v1
    description: Xerox Public Print API — Provider Types business capability. Self-contained, no shared references.
    resources:
    - name: ProviderTypes
      path: /ProviderTypes
      operations:
      - name: listprovidertypes
        method: GET
        description: List Provider Types
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $skip
          in: query
          type: integer
          description: Number of records to skip
        - name: $take
          in: query
          type: integer
          description: Number of records to return
      - name: createprovidertype
        method: PUT
        description: Create Provider Type
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: xrxauth
      value: '{{env.XEROX_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: public-print-provider-types-rest
    port: 8080
    description: REST adapter for Xerox Public Print API — Provider Types. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/providertypes
      name: providertypes
      description: REST surface for ProviderTypes.
      operations:
      - method: GET
        name: listprovidertypes
        description: List Provider Types
        call: public-print-provider-types.listprovidertypes
        with:
          $skip: rest.$skip
          $take: rest.$take
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: createprovidertype
        description: Create Provider Type
        call: public-print-provider-types.createprovidertype
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: public-print-provider-types-mcp
    port: 9090
    transport: http
    description: MCP adapter for Xerox Public Print API — Provider Types. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-provider-types
      description: List Provider Types
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: public-print-provider-types.listprovidertypes
      with:
        $skip: tools.$skip
        $take: tools.$take
      outputParameters:
      - type: object
        mapping: $.
    - name: create-provider-type
      description: Create Provider Type
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: public-print-provider-types.createprovidertype
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.