naftiko: 1.0.0-alpha2 info: label: Phrase Strings API Reference — Job Templates description: 'Phrase Strings API Reference — Job Templates. 5 operations. Lead operation: List job templates. Self-contained Naftiko capability covering one Phrase business surface.' tags: - Phrase - Job Templates created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PHRASE_API_KEY: PHRASE_API_KEY capability: consumes: - type: http namespace: strings-job-templates baseUri: https://api.phrase.com/v2 description: Phrase Strings API Reference — Job Templates business capability. Self-contained, no shared references. resources: - name: projects-project_id-job_templates path: /projects/{project_id}/job_templates operations: - name: jobtemplateslist method: GET description: List job templates outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: branch in: query type: string description: specify the branch to use - name: jobtemplatecreate method: POST description: Create a job template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-project_id-job_templates-id path: /projects/{project_id}/job_templates/{id} operations: - name: jobtemplatesshow method: GET description: Get a single job template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: branch in: query type: string description: specify the branch to use - name: jobtemplateupdate method: PATCH description: Update a job template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: jobtemplatedelete method: DELETE description: Delete a job template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: branch in: query type: string description: specify the branch to use authentication: type: apikey key: Authorization value: '{{env.PHRASE_API_KEY}}' placement: header exposes: - type: rest namespace: strings-job-templates-rest port: 8080 description: REST adapter for Phrase Strings API Reference — Job Templates. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{project-id}/job-templates name: projects-project-id-job-templates description: REST surface for projects-project_id-job_templates. operations: - method: GET name: jobtemplateslist description: List job templates call: strings-job-templates.jobtemplateslist with: branch: rest.branch outputParameters: - type: object mapping: $. - method: POST name: jobtemplatecreate description: Create a job template call: strings-job-templates.jobtemplatecreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{project-id}/job-templates/{id} name: projects-project-id-job-templates-id description: REST surface for projects-project_id-job_templates-id. operations: - method: GET name: jobtemplatesshow description: Get a single job template call: strings-job-templates.jobtemplatesshow with: branch: rest.branch outputParameters: - type: object mapping: $. - method: PATCH name: jobtemplateupdate description: Update a job template call: strings-job-templates.jobtemplateupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: jobtemplatedelete description: Delete a job template call: strings-job-templates.jobtemplatedelete with: branch: rest.branch outputParameters: - type: object mapping: $. - type: mcp namespace: strings-job-templates-mcp port: 9090 transport: http description: MCP adapter for Phrase Strings API Reference — Job Templates. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-job-templates description: List job templates hints: readOnly: true destructive: false idempotent: true call: strings-job-templates.jobtemplateslist with: branch: tools.branch outputParameters: - type: object mapping: $. - name: create-job-template description: Create a job template hints: readOnly: false destructive: false idempotent: false call: strings-job-templates.jobtemplatecreate with: body: tools.body outputParameters: - type: object mapping: $. - name: get-single-job-template description: Get a single job template hints: readOnly: true destructive: false idempotent: true call: strings-job-templates.jobtemplatesshow with: branch: tools.branch outputParameters: - type: object mapping: $. - name: update-job-template description: Update a job template hints: readOnly: false destructive: false idempotent: true call: strings-job-templates.jobtemplateupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-job-template description: Delete a job template hints: readOnly: false destructive: true idempotent: true call: strings-job-templates.jobtemplatedelete with: branch: tools.branch outputParameters: - type: object mapping: $.