Naftiko Consumes
Example API responses for every external service that Naftiko Framework capabilities consume. Each JSON file represents the response returned by a specific API endpoint at a specific HTTP method, structured so that the JSONPath mappings in Naftiko capability outputParameters resolve correctly against the example data.
Live site: https://consumes.naftiko.io
Structure: /{service}/{resource-path}/{method}.json
Directory
- DevOps and Source Control – GitHub, GitLab, Docker, Airflow, BrowserStack, Microcks
- Project and Issue Tracking – Jira, Linear
- Communication – Slack, Microsoft Teams, Mailchimp
- Knowledge and Documentation – Notion, Confluence, Google Docs, Google Drive
- CRM and Sales – Salesforce, HubSpot
- Support and ITSM – ServiceNow, Zendesk
- Payments and Commerce – Stripe, Shopify
- Monitoring and Observability – Datadog, PagerDuty, Sentry, New Relic, Splunk
- Google Cloud and Analytics – Gmail, Google Calendar, Google Drive (standalone), Google Analytics
- Microsoft Cloud – Microsoft Teams, Power BI, SharePoint
- Design and Product – Figma, LinkedIn
- HR and Workforce – Workday
- AI and ML – AWS SageMaker
- API Management – Backstage, Postman, SwaggerHub, Apigee, Azure API Management, Kong, AWS API Gateway
- Governance Services – API Gateway Analytics, MCP Registry, Security Scanner, Spectral, Observability, LLM Gateway, Identity Service, Cloud Billing, Spec Diff, Backstage (Governance)
DevOps and Source Control
GitHub
| Method |
Path |
Example |
| GET |
/repos/{owner}/{repo}/contents/{file_path} |
get.json |
| PUT |
/repos/{owner}/{repo}/contents/{file_path} |
put.json |
| GET |
/search/code |
get.json |
| POST |
/repos/{owner}/{repo}/issues |
post.json |
| POST |
/repos/{owner}/{repo}/pulls |
post.json |
| GET |
/repos/{owner}/{repo}/pulls |
get.json |
| GET |
/repos/{owner}/{repo}/commits |
get.json |
GitLab
| Method |
Path |
Example |
| GET |
/projects/{project_id}/pipelines |
get.json |
| GET |
/projects/{project_id}/pipelines/{pipeline_id} |
get.json |
| GET |
/projects/{project_id}/pipelines/{pipeline_id}/jobs |
get.json |
| GET |
/projects/{project_id}/merge_requests |
get.json |
| POST |
/projects/{project_id}/merge_requests |
post.json |
Docker
Airflow
baseUri: https://{airflow_host}/api/v1
| Method |
Path |
Example |
| GET |
/dags/{dag_id}/dagRuns |
get.json |
| POST |
/dags/{dag_id}/dagRuns |
post.json |
| GET |
/dags/{dag_id}/dagRuns/{dag_run_id} |
get.json |
| GET |
/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances |
get.json |
BrowserStack
baseUri: https://api.browserstack.com/automate
| Method |
Path |
Example |
| GET |
/builds.json |
get.json |
| GET |
/builds/{build_id}/sessions.json |
get.json |
| GET |
/sessions/{session_id}.json |
get.json |
Microcks
baseUri: {microcks_base_url}/api
Project and Issue Tracking
Jira
baseUri: https://{domain}.atlassian.net/rest/api/3
Linear
baseUri: https://api.linear.app
Communication
Slack
Microsoft Teams
baseUri: https://graph.microsoft.com/v1.0
| Method |
Path |
Example |
| POST |
/teams/{team_id}/channels/{channel_id}/messages |
post.json |
| POST |
/chats/{chat_id}/messages |
post.json |
| GET |
/me/chats |
get.json |
Mailchimp
baseUri: https://us1.api.mailchimp.com/3.0
Knowledge and Documentation
Notion
Confluence
baseUri: https://{domain}.atlassian.net/wiki/rest/api
Google Docs
baseUri: https://docs.googleapis.com/v1
| Method |
Path |
Example |
| GET |
/documents/{document_id} |
get.json |
| POST |
/documents/{document_id}:batchUpdate |
post.json |
Google Drive (Workspace)
baseUri: https://www.googleapis.com/drive/v3
CRM and Sales
Salesforce
baseUri: https://{instance}.salesforce.com/services/data/v59.0
| Method |
Path |
Example |
| GET |
/query |
get.json |
| POST |
/sobjects/{object_type} |
post.json |
| GET |
/sobjects/{object_type}/{record_id} |
get.json |
| PATCH |
/sobjects/{object_type}/{record_id} |
patch.json |
HubSpot
baseUri: https://api.hubapi.com/crm/v3
Support and ITSM
ServiceNow
baseUri: https://{instance}.service-now.com/api/now
Zendesk
baseUri: https://{subdomain}.zendesk.com/api/v2
Payments and Commerce
Stripe
baseUri: https://api.stripe.com/v1
Shopify
baseUri: https://{store}.myshopify.com/admin/api/2024-01
Monitoring and Observability
Datadog
baseUri: https://api.datadoghq.com
baseUri: https://api.pagerduty.com
Sentry
baseUri: https://sentry.io/api/0
| Method |
Path |
Example |
| GET |
/projects/{org_slug}/{project_slug}/issues/ |
get.json |
| GET |
/organizations/{org_slug}/issues/{issue_id}/ |
get.json |
| PUT |
/organizations/{org_slug}/issues/{issue_id}/ |
put.json |
| GET |
/organizations/{org_slug}/issues/{issue_id}/events/ |
get.json |
New Relic
baseUri: https://api.newrelic.com/v2
| Method |
Path |
Example |
| POST |
/applications/{application_id}/deployments.json |
post.json |
| GET |
/applications.json |
get.json |
| GET |
/alerts_violations.json |
get.json |
Splunk
baseUri: https://{splunk_host}:8089/services
Google Cloud and Analytics
Gmail
baseUri: https://gmail.googleapis.com/gmail/v1
| Method |
Path |
Example |
| POST |
/users/me/messages/send |
post.json |
| GET |
/users/me/messages |
get.json |
Google Calendar
baseUri: https://www.googleapis.com/calendar/v3
| Method |
Path |
Example |
| POST |
/calendars/{calendar_id}/events |
post.json |
| GET |
/calendars/{calendar_id}/events |
get.json |
Google Drive (standalone)
baseUri: https://www.googleapis.com/drive/v3
Google Analytics (GA4)
baseUri: https://analyticsdata.googleapis.com/v1beta
| Method |
Path |
Example |
| POST |
/properties/{property_id}:runReport |
post.json |
| POST |
/properties/{property_id}:runRealtimeReport |
post.json |
Microsoft Cloud
Power BI
baseUri: https://api.powerbi.com/v1.0/myorg
SharePoint
baseUri: https://graph.microsoft.com/v1.0
| Method |
Path |
Example |
| GET |
/sites |
get.json |
| POST |
/sites/{site_id}/drive/root:/{folder_path}:/children |
post.json |
| GET |
/sites/{site_id}/drives |
get.json |
Design and Product
Figma
| Method |
Path |
Example |
| GET |
/files/{file_key} |
get.json |
| GET |
/files/{file_key}/comments |
get.json |
| POST |
/files/{file_key}/comments |
post.json |
| GET |
/files/{file_key}/versions |
get.json |
| GET |
/teams/{team_id}/projects |
get.json |
LinkedIn
baseUri: https://api.linkedin.com/v2
| Method |
Path |
Example |
| GET |
/people/(id:{member_urn}) |
get.json |
| GET |
/organizations/{org_id} |
get.json |
HR and Workforce
Workday
baseUri: https://wd2-impl-services1.workday.com/ccx/api/v1
AI and ML
AWS SageMaker
baseUri: https://api.sagemaker.{region}.amazonaws.com
| Method |
Path |
Example |
| POST |
/ (all operations via X-Amz-Target header) |
post.json |
API Management
Backstage
baseUri: {backstage_base_url}/api/catalog |
Wiki: Roadmap |
| Method |
Path |
Example |
| GET |
/entities |
get.json |
| GET |
/entities/by-name/{kind}/{namespace}/{name} |
get.json |
| PUT |
/entities/by-name/{kind}/{namespace}/{name} |
put.json |
Postman
baseUri: https://api.getpostman.com
SwaggerHub
baseUri: https://api.swaggerhub.com
| Method |
Path |
Example |
| GET |
/apis/{owner} |
get.json |
| GET |
/apis/{owner}/{api_name} |
get.json |
| GET |
/apis/{owner}/{api_name}/{version} |
get.json |
Apigee
baseUri: https://apigee.googleapis.com/v1/organizations/{organization}
Azure API Management
baseUri: https://management.azure.com/.../Microsoft.ApiManagement/service/{service_name}
Kong
baseUri: {kong_admin_url}
AWS API Gateway
baseUri: https://apigateway.{region}.amazonaws.com
| Method |
Path |
Example |
| GET |
/restapis |
get.json |
| GET |
/restapis/{api_id}/resources |
get.json |
| GET |
/restapis/{api_id}/resources/{resource_id}/methods/{http_method} |
get.json |
| GET |
/restapis/{api_id}/stages |
get.json |
| GET |
/restapis/{api_id}/models |
get.json |
| GET |
/restapis/{api_id}/stages/{stage_name}/exports/{export_type} |
get.json |
Governance Services
These are internal or configurable services used by Naftiko’s governance capabilities.
API Gateway Analytics
baseUri: {API_GATEWAY_ANALYTICS_URL}
MCP Registry
baseUri: {MCP_REGISTRY_URL}
Security Scanner
baseUri: {SECURITY_SCANNER_URL}
Spectral
baseUri: {SPECTRAL_SERVICE_URL} |
Wiki: Roadmap |
Observability
baseUri: {OBSERVABILITY_URL}
| Method |
Path |
Example |
| GET |
/api/v1/traces |
get.json |
LLM Gateway
baseUri: {LLM_GATEWAY_URL}
| Method |
Path |
Example |
| POST |
/api/v1/costs |
post.json |
Identity Service
baseUri: {IDENTITY_SERVICE_URL}
| Method |
Path |
Example |
| POST |
/api/v1/identity/extract |
post.json |
| POST |
/api/v1/identity/verify-obo |
post.json |
| POST |
/api/v1/identity/detect-escalation |
post.json |
| POST |
/api/v1/agents/permissions |
post.json |
| POST |
/api/v1/agents/permission-risk |
post.json |
Cloud Billing
baseUri: {CLOUD_BILLING_URL}
| Method |
Path |
Example |
| POST |
/api/v1/costs/by-label |
post.json |
Spec Diff
baseUri: {SPEC_DIFF_SERVICE_URL}
| Method |
Path |
Example |
| POST |
/api/v1/diff/analyze |
post.json |
| POST |
/api/v1/diff/impact |
post.json |
Backstage (Governance)
baseUri: {BACKSTAGE_BASE_URL} |
Extended catalog used by governance capabilities. |
| Method |
Path |
Example |
| GET |
/api/search/query |
get.json |
| GET |
/api/catalog/entities/by-name/{entity_ref} |
get.json |
| GET |
/api/catalog/entity-facets |
get.json |
| GET |
/api/catalog/entities/by-name/{entity_ref}/relations |
get.json |
| GET |
/api/catalog/entities/by-name/{entity_ref}/scorecards |
get.json |
| POST |
/api/catalog/relations/counts |
post.json |
| POST |
/api/catalog/scorecards/batch |
post.json |
| POST |
/api/catalog/entities/owners |
post.json |
| GET |
/api/catalog/entities |
get.json |
| POST |
/api/catalog/entities |
post.json |
| GET |
/api/catalog/relations |
get.json |
How These Examples Are Used
Each JSON file represents the raw response an API returns before Naftiko applies outputParameters mappings. In the Naftiko Specification, the consumes section of a capability YAML declares:
- A
baseUri and namespace for the upstream API
resources with path templates and operations with HTTP methods
outputParameters with JSONPath mapping or value expressions
These example responses let you verify that every JSONPath expression in a capability’s output mappings resolves to the correct field. They serve as the reference data for wiki tutorials, specification examples, and capability development.
Related Wiki Pages
| Page |
What It Covers |
| Tutorial |
Step-by-step guide consuming the Notion API – forwarding, filtering, multi-step, and MCP |
| Specification |
Full spec with GitHub, Notion, Slack, and Figma consume examples |
| FAQ |
Common patterns for GitHub and Notion consumption |
| Use Cases |
Architecture patterns: elevate APIs, compose context, rightsize microservices |
| Spec-Driven Integration |
The consume/expose duality and how capabilities bridge APIs |
| Installation |
Running the engine with Docker to serve capabilities |
| Roadmap |
Planned integrations: Backstage plugin, Spectral linting, VS Code extension |