naftiko: 1.0.0-alpha2 info: label: WildApricot Admin API — Donation.CustomFields description: 'WildApricot Admin API — Donation.CustomFields. 4 operations. Lead operation: WildApricot List of Custom Fields Related to Donations.. Self-contained Naftiko capability covering one Wildapricot business surface.' tags: - Wildapricot - Donation.CustomFields created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WILDAPRICOT_API_KEY: WILDAPRICOT_API_KEY capability: consumes: - type: http namespace: admin-donation-customfields baseUri: https://api.wildapricot.org/v2.2 description: WildApricot Admin API — Donation.CustomFields business capability. Self-contained, no shared references. resources: - name: accounts-accountId-donationfields path: /accounts/{accountId}/donationfields operations: - name: get method: GET description: WildApricot List of Custom Fields Related to Donations. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: showSectionDividers in: query type: boolean description: Default value is false. Specifies whether section dividers also should be presented in the response. - name: post method: POST description: WildApricot Creates a New Donation Field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: accounts-accountId-donationfields-donationFieldId path: /accounts/{accountId}/donationfields/{donationFieldId} operations: - name: put method: PUT description: WildApricot Updates an Existing Donation Field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: donationFieldId in: path type: integer description: donation field identifier required: true - name: body in: body type: object description: Request body (JSON). required: true - name: delete method: DELETE description: WildApricot Removes Existing Field by Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: donationFieldId in: path type: integer description: donation field identifier required: true authentication: type: bearer token: '{{env.WILDAPRICOT_API_KEY}}' exposes: - type: rest namespace: admin-donation-customfields-rest port: 8080 description: REST adapter for WildApricot Admin API — Donation.CustomFields. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounts/{accountid}/donationfields name: accounts-accountid-donationfields description: REST surface for accounts-accountId-donationfields. operations: - method: GET name: get description: WildApricot List of Custom Fields Related to Donations. call: admin-donation-customfields.get with: showSectionDividers: rest.showSectionDividers outputParameters: - type: object mapping: $. - method: POST name: post description: WildApricot Creates a New Donation Field call: admin-donation-customfields.post with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/accounts/{accountid}/donationfields/{donationfieldid} name: accounts-accountid-donationfields-donationfieldid description: REST surface for accounts-accountId-donationfields-donationFieldId. operations: - method: PUT name: put description: WildApricot Updates an Existing Donation Field call: admin-donation-customfields.put with: donationFieldId: rest.donationFieldId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: WildApricot Removes Existing Field by Id call: admin-donation-customfields.delete with: donationFieldId: rest.donationFieldId outputParameters: - type: object mapping: $. - type: mcp namespace: admin-donation-customfields-mcp port: 9090 transport: http description: MCP adapter for WildApricot Admin API — Donation.CustomFields. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: wildapricot-list-custom-fields-related description: WildApricot List of Custom Fields Related to Donations. hints: readOnly: true destructive: false idempotent: true call: admin-donation-customfields.get with: showSectionDividers: tools.showSectionDividers outputParameters: - type: object mapping: $. - name: wildapricot-creates-new-donation-field description: WildApricot Creates a New Donation Field hints: readOnly: false destructive: false idempotent: false call: admin-donation-customfields.post with: body: tools.body outputParameters: - type: object mapping: $. - name: wildapricot-updates-existing-donation-field description: WildApricot Updates an Existing Donation Field hints: readOnly: false destructive: false idempotent: true call: admin-donation-customfields.put with: donationFieldId: tools.donationFieldId body: tools.body outputParameters: - type: object mapping: $. - name: wildapricot-removes-existing-field-id description: WildApricot Removes Existing Field by Id hints: readOnly: false destructive: true idempotent: true call: admin-donation-customfields.delete with: donationFieldId: tools.donationFieldId outputParameters: - type: object mapping: $.