IXON · Capability

IXON API — AssetType

IXON API — AssetType. 4 operations. Lead operation: AssetType. Self-contained Naftiko capability covering one Ixon business surface.

Run with Naftiko IxonAssetType

What You Can Do

GET
Get — AssetType
/v1/asset-types/{publicid}
POST
Post — AssetType
/v1/asset-types/{publicid}
PATCH
Patch — AssetType
/v1/asset-types/{publicid}
DELETE
Delete — AssetType
/v1/asset-types/{publicid}

MCP Tools

assettype

AssetType

read-only idempotent
assettype-2

AssetType

assettype-3

AssetType

idempotent
assettype-4

AssetType

idempotent

Capability Spec

ixon-assettype.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: IXON API — AssetType
  description: 'IXON API — AssetType. 4 operations. Lead operation: AssetType. Self-contained Naftiko capability covering
    one Ixon business surface.'
  tags:
  - Ixon
  - AssetType
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    IXON_API_KEY: IXON_API_KEY
capability:
  consumes:
  - type: http
    namespace: ixon-assettype
    baseUri: https://portal.ixon.cloud:443/api
    description: IXON API — AssetType business capability. Self-contained, no shared references.
    resources:
    - name: asset-types-publicId
      path: /asset-types/{publicId}
      operations:
      - name: get
        method: GET
        description: AssetType
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: publicId
          in: path
          type: string
          required: true
      - name: post
        method: POST
        description: AssetType
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: publicId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: patch
        method: PATCH
        description: AssetType
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: publicId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: delete
        method: DELETE
        description: AssetType
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: publicId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.IXON_API_KEY}}'
  exposes:
  - type: rest
    namespace: ixon-assettype-rest
    port: 8080
    description: REST adapter for IXON API — AssetType. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/asset-types/{publicid}
      name: asset-types-publicid
      description: REST surface for asset-types-publicId.
      operations:
      - method: GET
        name: get
        description: AssetType
        call: ixon-assettype.get
        with:
          publicId: rest.publicId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: AssetType
        call: ixon-assettype.post
        with:
          publicId: rest.publicId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: AssetType
        call: ixon-assettype.patch
        with:
          publicId: rest.publicId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: AssetType
        call: ixon-assettype.delete
        with:
          publicId: rest.publicId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ixon-assettype-mcp
    port: 9090
    transport: http
    description: MCP adapter for IXON API — AssetType. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: assettype
      description: AssetType
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ixon-assettype.get
      with:
        publicId: tools.publicId
      outputParameters:
      - type: object
        mapping: $.
    - name: assettype-2
      description: AssetType
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: ixon-assettype.post
      with:
        publicId: tools.publicId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: assettype-3
      description: AssetType
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: ixon-assettype.patch
      with:
        publicId: tools.publicId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: assettype-4
      description: AssetType
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: ixon-assettype.delete
      with:
        publicId: tools.publicId
      outputParameters:
      - type: object
        mapping: $.