naftiko: 1.0.0-alpha2 info: label: godaddy-subscriptions — v1 description: 'godaddy-subscriptions — v1. 5 operations. Lead operation: Retrieve a list of Subscriptions for the specified Shopper. Self-contained Naftiko capability covering one Godaddy business surface.' tags: - Godaddy - v1 created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GODADDY_API_KEY: GODADDY_API_KEY capability: consumes: - type: http namespace: subscriptions-v1 baseUri: https://api.ote-godaddy.com description: godaddy-subscriptions — v1 business capability. Self-contained, no shared references. resources: - name: v1-subscriptions path: /v1/subscriptions operations: - name: list method: GET description: Retrieve a list of Subscriptions for the specified Shopper outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-App-Key in: header type: string description: A unique application key identifying the source of the request. This is required for request tracking required: true - name: X-Shopper-Id in: header type: string description: Shopper ID to return subscriptions for when not using JWT - name: X-Market-Id in: header type: string description: The market that the response should be formatted for - name: productGroupKeys in: query type: array description: Only return Subscriptions with the specified product groups - name: includes in: query type: array description: Optional details to be included in the response - name: offset in: query type: integer description: Number of Subscriptions to skip before starting to return paged results (must be a multiple of the limit) - name: limit in: query type: integer description: Number of Subscriptions to retrieve in this page, starting after offset - name: sort in: query type: string description: Property name that will be used to sort results. "-" indicates descending - name: v1-subscriptions-productGroups path: /v1/subscriptions/productGroups operations: - name: productgroups method: GET description: Retrieve a list of ProductGroups for the specified Shopper outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-App-Key in: header type: string description: A unique application key identifying the source of the request. This is required for request tracking required: true - name: X-Shopper-Id in: header type: string description: Shopper ID to return data for when not using JWT - name: v1-subscriptions-subscriptionId path: /v1/subscriptions/{subscriptionId} operations: - name: cancel method: DELETE description: Cancel the specified Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-App-Key in: header type: string description: A unique application key identifying the source of the request. This is required for request tracking required: true - name: X-Shopper-Id in: header type: string description: Shopper ID to return data for when not using JWT - name: subscriptionId in: path type: string description: Unique identifier of the Subscription to cancel required: true - name: get method: GET description: Retrieve details for the specified Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-App-Key in: header type: string description: A unique application key identifying the source of the request. This is required for request tracking required: true - name: X-Shopper-Id in: header type: string description: Shopper ID to be operated on, if different from JWT - name: subscriptionId in: path type: string description: Unique identifier of the Subscription to retrieve required: true - name: update method: PATCH description: Update details for the specified Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-App-Key in: header type: string description: A unique application key identifying the source of the request. This is required for request tracking required: true - name: X-Shopper-Id in: header type: string description: Shopper ID to be operated on, if different from JWT - name: subscriptionId in: path type: string description: Unique identifier of the Subscription to update required: true - name: subscription in: body type: string description: Details of the Subscription to change required: true exposes: - type: rest namespace: subscriptions-v1-rest port: 8080 description: REST adapter for godaddy-subscriptions — v1. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/subscriptions name: v1-subscriptions description: REST surface for v1-subscriptions. operations: - method: GET name: list description: Retrieve a list of Subscriptions for the specified Shopper call: subscriptions-v1.list with: X-App-Key: rest.X-App-Key X-Shopper-Id: rest.X-Shopper-Id X-Market-Id: rest.X-Market-Id productGroupKeys: rest.productGroupKeys includes: rest.includes offset: rest.offset limit: rest.limit sort: rest.sort outputParameters: - type: object mapping: $. - path: /v1/v1/subscriptions/productgroups name: v1-subscriptions-productgroups description: REST surface for v1-subscriptions-productGroups. operations: - method: GET name: productgroups description: Retrieve a list of ProductGroups for the specified Shopper call: subscriptions-v1.productgroups with: X-App-Key: rest.X-App-Key X-Shopper-Id: rest.X-Shopper-Id outputParameters: - type: object mapping: $. - path: /v1/v1/subscriptions/{subscriptionid} name: v1-subscriptions-subscriptionid description: REST surface for v1-subscriptions-subscriptionId. operations: - method: DELETE name: cancel description: Cancel the specified Subscription call: subscriptions-v1.cancel with: X-App-Key: rest.X-App-Key X-Shopper-Id: rest.X-Shopper-Id subscriptionId: rest.subscriptionId outputParameters: - type: object mapping: $. - method: GET name: get description: Retrieve details for the specified Subscription call: subscriptions-v1.get with: X-App-Key: rest.X-App-Key X-Shopper-Id: rest.X-Shopper-Id subscriptionId: rest.subscriptionId outputParameters: - type: object mapping: $. - method: PATCH name: update description: Update details for the specified Subscription call: subscriptions-v1.update with: X-App-Key: rest.X-App-Key X-Shopper-Id: rest.X-Shopper-Id subscriptionId: rest.subscriptionId subscription: rest.subscription outputParameters: - type: object mapping: $. - type: mcp namespace: subscriptions-v1-mcp port: 9090 transport: http description: MCP adapter for godaddy-subscriptions — v1. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: retrieve-list-subscriptions-specified-shopper description: Retrieve a list of Subscriptions for the specified Shopper hints: readOnly: true destructive: false idempotent: true call: subscriptions-v1.list with: X-App-Key: tools.X-App-Key X-Shopper-Id: tools.X-Shopper-Id X-Market-Id: tools.X-Market-Id productGroupKeys: tools.productGroupKeys includes: tools.includes offset: tools.offset limit: tools.limit sort: tools.sort outputParameters: - type: object mapping: $. - name: retrieve-list-productgroups-specified-shopper description: Retrieve a list of ProductGroups for the specified Shopper hints: readOnly: true destructive: false idempotent: true call: subscriptions-v1.productgroups with: X-App-Key: tools.X-App-Key X-Shopper-Id: tools.X-Shopper-Id outputParameters: - type: object mapping: $. - name: cancel-specified-subscription description: Cancel the specified Subscription hints: readOnly: false destructive: true idempotent: true call: subscriptions-v1.cancel with: X-App-Key: tools.X-App-Key X-Shopper-Id: tools.X-Shopper-Id subscriptionId: tools.subscriptionId outputParameters: - type: object mapping: $. - name: retrieve-details-specified-subscription description: Retrieve details for the specified Subscription hints: readOnly: true destructive: false idempotent: true call: subscriptions-v1.get with: X-App-Key: tools.X-App-Key X-Shopper-Id: tools.X-Shopper-Id subscriptionId: tools.subscriptionId outputParameters: - type: object mapping: $. - name: update-details-specified-subscription description: Update details for the specified Subscription hints: readOnly: false destructive: false idempotent: true call: subscriptions-v1.update with: X-App-Key: tools.X-App-Key X-Shopper-Id: tools.X-Shopper-Id subscriptionId: tools.subscriptionId subscription: tools.subscription outputParameters: - type: object mapping: $.