FIWARE · Capability

ETSI ISG CIM / NGSI-LD API — CSourceRegistrations

ETSI ISG CIM / NGSI-LD API — CSourceRegistrations. 4 operations. Lead operation: CSourceRegistrations. Self-contained Naftiko capability covering one Fiware business surface.

Run with Naftiko FiwareCSourceRegistrations

What You Can Do

GET
Querycsources — Retrieve a set of context sources which matches a specific query from an NGSI-LD system
/v1/csourceregistrations
POST
Registercsource — Registers a new context source within an NGSI-LD system
/v1/csourceregistrations
GET
Retrievecsource — Retrieves a specific context source registration from an NGSI-LD system
/v1/csourceregistrations/{registrationid}
DELETE
Removecsource — Removes an specific context source registration within an NGSI-LD system
/v1/csourceregistrations/{registrationid}

MCP Tools

retrieve-set-context-sources-which

Retrieve a set of context sources which matches a specific query from an NGSI-LD system

read-only idempotent
registers-new-context-source-within

Registers a new context source within an NGSI-LD system

retrieves-specific-context-source-registration

Retrieves a specific context source registration from an NGSI-LD system

read-only idempotent
removes-specific-context-source-registration

Removes an specific context source registration within an NGSI-LD system

idempotent

Capability Spec

ngsi-ld-csourceregistrations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: ETSI ISG CIM / NGSI-LD API — CSourceRegistrations
  description: 'ETSI ISG CIM / NGSI-LD API — CSourceRegistrations. 4 operations. Lead operation: CSourceRegistrations. Self-contained
    Naftiko capability covering one Fiware business surface.'
  tags:
  - Fiware
  - CSourceRegistrations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FIWARE_API_KEY: FIWARE_API_KEY
capability:
  consumes:
  - type: http
    namespace: ngsi-ld-csourceregistrations
    baseUri: ''
    description: ETSI ISG CIM / NGSI-LD API — CSourceRegistrations business capability. Self-contained, no shared references.
    resources:
    - name: csourceRegistrations
      path: /csourceRegistrations/
      operations:
      - name: querycsources
        method: GET
        description: Retrieve a set of context sources which matches a specific query from an NGSI-LD system
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: registercsource
        method: POST
        description: Registers a new context source within an NGSI-LD system
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: csourceRegistrations-registrationId
      path: /csourceRegistrations/{registrationId}
      operations:
      - name: retrievecsource
        method: GET
        description: Retrieves a specific context source registration from an NGSI-LD system
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: removecsource
        method: DELETE
        description: Removes an specific context source registration within an NGSI-LD system
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: ngsi-ld-csourceregistrations-rest
    port: 8080
    description: REST adapter for ETSI ISG CIM / NGSI-LD API — CSourceRegistrations. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/csourceregistrations
      name: csourceregistrations
      description: REST surface for csourceRegistrations.
      operations:
      - method: GET
        name: querycsources
        description: Retrieve a set of context sources which matches a specific query from an NGSI-LD system
        call: ngsi-ld-csourceregistrations.querycsources
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: registercsource
        description: Registers a new context source within an NGSI-LD system
        call: ngsi-ld-csourceregistrations.registercsource
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/csourceregistrations/{registrationid}
      name: csourceregistrations-registrationid
      description: REST surface for csourceRegistrations-registrationId.
      operations:
      - method: GET
        name: retrievecsource
        description: Retrieves a specific context source registration from an NGSI-LD system
        call: ngsi-ld-csourceregistrations.retrievecsource
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: removecsource
        description: Removes an specific context source registration within an NGSI-LD system
        call: ngsi-ld-csourceregistrations.removecsource
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ngsi-ld-csourceregistrations-mcp
    port: 9090
    transport: http
    description: MCP adapter for ETSI ISG CIM / NGSI-LD API — CSourceRegistrations. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: retrieve-set-context-sources-which
      description: Retrieve a set of context sources which matches a specific query from an NGSI-LD system
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ngsi-ld-csourceregistrations.querycsources
      outputParameters:
      - type: object
        mapping: $.
    - name: registers-new-context-source-within
      description: Registers a new context source within an NGSI-LD system
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: ngsi-ld-csourceregistrations.registercsource
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieves-specific-context-source-registration
      description: Retrieves a specific context source registration from an NGSI-LD system
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ngsi-ld-csourceregistrations.retrievecsource
      outputParameters:
      - type: object
        mapping: $.
    - name: removes-specific-context-source-registration
      description: Removes an specific context source registration within an NGSI-LD system
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: ngsi-ld-csourceregistrations.removecsource
      outputParameters:
      - type: object
        mapping: $.