naftiko: 1.0.0-alpha2 info: label: Webex Contact Center — Resource Collection description: 'Webex Contact Center — Resource Collection. 8 operations. Lead operation: Create a new Resource Collection. Self-contained Naftiko capability covering one Webex business surface.' tags: - Webex - Resource Collection created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WEBEX_API_KEY: WEBEX_API_KEY capability: consumes: - type: http namespace: contact-center-resource-collection baseUri: '' description: Webex Contact Center — Resource Collection business capability. Self-contained, no shared references. resources: - name: organization-orgid-resource-collection path: /organization/{orgid}/resource-collection operations: - name: createresourcecollection method: POST description: Create a new Resource Collection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgid in: path type: string description: Organization ID to be used for this operation. The specified security token must have permission to interact with the organization. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: organization-orgid-resource-collection-bulk path: /organization/{orgid}/resource-collection/bulk operations: - name: bulkpatchresourcecollections method: PATCH description: Bulk partial update Resource Collections outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgid in: path type: string description: Organization ID to be used for this operation. The specified security token must have permission to interact with the organization. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: organization-orgid-resource-collection-update-resource path: /organization/{orgid}/resource-collection/update-resource operations: - name: updateresourcetoresourcecollection method: POST description: Update resource with default resource collection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgid in: path type: string description: Organization ID to be used for this operation. The specified security token must have permission to interact with the organization. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: organization-orgid-resource-collection-id path: /organization/{orgid}/resource-collection/{id} operations: - name: getresourcecollectionbyid method: GET description: Get specific Resource Collection by ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgid in: path type: string description: Organization ID to be used for this operation. The specified security token must have permission to interact with the organization. required: true - name: id in: path type: string description: Resource ID of the Resource Collection. required: true - name: updateresourcecollection method: PUT description: Update specific Resource Collection by ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgid in: path type: string description: Organization ID to be used for this operation. The specified security token must have permission to interact with the organization. required: true - name: id in: path type: string description: Resource ID of the Resource Collection. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteresourcecollection method: DELETE description: Delete specific Resource Collection by ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgid in: path type: string description: Organization ID to be used for this operation. The specified security token must have permission to interact with the organization. required: true - name: id in: path type: string description: Resource ID of the Resource Collection. required: true - name: organization-orgid-resource-collection-id-incoming-references path: /organization/{orgid}/resource-collection/{id}/incoming-references operations: - name: getincomingreferencesforresourcecollection method: GET description: List references for a specific Resource Collection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgid in: path type: string description: Organization ID to be used for this operation. The specified security token must have permission to interact with the organization. required: true - name: id in: path type: string description: ID of this contact center resource. required: true - name: type in: query type: string description: Entity type of the other entity that has a reference to this specific entity. - name: page in: query type: integer description: Defines the number of displayed page. The page number starts from 0. - name: pageSize in: query type: integer description: Defines the number of items to be displayed on a page. If the number specified is more than allowed max page size, the API will automatically adjust the page si - name: organization-orgid-v2-resource-collection path: /organization/{orgid}/v2/resource-collection operations: - name: getallresourcecollections method: GET description: List Resource Collections outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgid in: path type: string description: Organization ID to be used for this operation. The specified security token must have permission to interact with the organization. required: true - name: filter in: query type: string description: 'Specify a filter based on which the results will be fetched. All the fields are supported except: organizationId, createdTime, lastUpdatedTime ' - name: attributes in: query type: string description: Specify the attributes to be returned. By default, all attributes are returned along with the specified columns. All attributes are supported. - name: search in: query type: string description: Filter data based on the search keyword.Supported search columns(name) - name: page in: query type: integer description: Defines the number of displayed page. The page number starts from 0. - name: pageSize in: query type: integer description: Defines the number of items to be displayed on a page. If the number specified is more than allowed max page size, the API will automatically adjust the page si authentication: type: bearer token: '{{env.WEBEX_API_KEY}}' exposes: - type: rest namespace: contact-center-resource-collection-rest port: 8080 description: REST adapter for Webex Contact Center — Resource Collection. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organization/{orgid}/resource-collection name: organization-orgid-resource-collection description: REST surface for organization-orgid-resource-collection. operations: - method: POST name: createresourcecollection description: Create a new Resource Collection call: contact-center-resource-collection.createresourcecollection with: orgid: rest.orgid body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organization/{orgid}/resource-collection/bulk name: organization-orgid-resource-collection-bulk description: REST surface for organization-orgid-resource-collection-bulk. operations: - method: PATCH name: bulkpatchresourcecollections description: Bulk partial update Resource Collections call: contact-center-resource-collection.bulkpatchresourcecollections with: orgid: rest.orgid body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organization/{orgid}/resource-collection/update-resource name: organization-orgid-resource-collection-update-resource description: REST surface for organization-orgid-resource-collection-update-resource. operations: - method: POST name: updateresourcetoresourcecollection description: Update resource with default resource collection call: contact-center-resource-collection.updateresourcetoresourcecollection with: orgid: rest.orgid body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organization/{orgid}/resource-collection/{id} name: organization-orgid-resource-collection-id description: REST surface for organization-orgid-resource-collection-id. operations: - method: GET name: getresourcecollectionbyid description: Get specific Resource Collection by ID call: contact-center-resource-collection.getresourcecollectionbyid with: orgid: rest.orgid id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: updateresourcecollection description: Update specific Resource Collection by ID call: contact-center-resource-collection.updateresourcecollection with: orgid: rest.orgid id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteresourcecollection description: Delete specific Resource Collection by ID call: contact-center-resource-collection.deleteresourcecollection with: orgid: rest.orgid id: rest.id outputParameters: - type: object mapping: $. - path: /v1/organization/{orgid}/resource-collection/{id}/incoming-references name: organization-orgid-resource-collection-id-incoming-references description: REST surface for organization-orgid-resource-collection-id-incoming-references. operations: - method: GET name: getincomingreferencesforresourcecollection description: List references for a specific Resource Collection call: contact-center-resource-collection.getincomingreferencesforresourcecollection with: orgid: rest.orgid id: rest.id type: rest.type page: rest.page pageSize: rest.pageSize outputParameters: - type: object mapping: $. - path: /v1/organization/{orgid}/v2/resource-collection name: organization-orgid-v2-resource-collection description: REST surface for organization-orgid-v2-resource-collection. operations: - method: GET name: getallresourcecollections description: List Resource Collections call: contact-center-resource-collection.getallresourcecollections with: orgid: rest.orgid filter: rest.filter attributes: rest.attributes search: rest.search page: rest.page pageSize: rest.pageSize outputParameters: - type: object mapping: $. - type: mcp namespace: contact-center-resource-collection-mcp port: 9090 transport: http description: MCP adapter for Webex Contact Center — Resource Collection. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-new-resource-collection description: Create a new Resource Collection hints: readOnly: false destructive: false idempotent: false call: contact-center-resource-collection.createresourcecollection with: orgid: tools.orgid body: tools.body outputParameters: - type: object mapping: $. - name: bulk-partial-update-resource-collections description: Bulk partial update Resource Collections hints: readOnly: false destructive: false idempotent: true call: contact-center-resource-collection.bulkpatchresourcecollections with: orgid: tools.orgid body: tools.body outputParameters: - type: object mapping: $. - name: update-resource-default-resource-collection description: Update resource with default resource collection hints: readOnly: false destructive: false idempotent: false call: contact-center-resource-collection.updateresourcetoresourcecollection with: orgid: tools.orgid body: tools.body outputParameters: - type: object mapping: $. - name: get-specific-resource-collection-id description: Get specific Resource Collection by ID hints: readOnly: true destructive: false idempotent: true call: contact-center-resource-collection.getresourcecollectionbyid with: orgid: tools.orgid id: tools.id outputParameters: - type: object mapping: $. - name: update-specific-resource-collection-id description: Update specific Resource Collection by ID hints: readOnly: false destructive: false idempotent: true call: contact-center-resource-collection.updateresourcecollection with: orgid: tools.orgid id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: delete-specific-resource-collection-id description: Delete specific Resource Collection by ID hints: readOnly: false destructive: true idempotent: true call: contact-center-resource-collection.deleteresourcecollection with: orgid: tools.orgid id: tools.id outputParameters: - type: object mapping: $. - name: list-references-specific-resource-collection description: List references for a specific Resource Collection hints: readOnly: true destructive: false idempotent: true call: contact-center-resource-collection.getincomingreferencesforresourcecollection with: orgid: tools.orgid id: tools.id type: tools.type page: tools.page pageSize: tools.pageSize outputParameters: - type: object mapping: $. - name: list-resource-collections description: List Resource Collections hints: readOnly: true destructive: false idempotent: true call: contact-center-resource-collection.getallresourcecollections with: orgid: tools.orgid filter: tools.filter attributes: tools.attributes search: tools.search page: tools.page pageSize: tools.pageSize outputParameters: - type: object mapping: $.