naftiko: 1.0.0-alpha2 info: label: Atlassian rest/api/3/project/ — Project Avatars description: 'Atlassian rest/api/3/project/ — Project Avatars. 4 operations. Lead operation: Atlassian Set Project Avatar. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Project Avatars created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ATLASSIAN_API_KEY: ATLASSIAN_API_KEY capability: consumes: - type: http namespace: rest-api-3-project--project-avatars baseUri: https://your-domain.atlassian.net description: Atlassian rest/api/3/project/ — Project Avatars business capability. Self-contained, no shared references. resources: - name: rest-api-3-project-projectIdOrKey-avatar path: /rest/api/3/project/{projectIdOrKey}/avatar operations: - name: atlassianupdateprojectavatar method: PUT description: Atlassian Set Project Avatar outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectIdOrKey in: path type: string description: The ID or (case-sensitive) key of the project. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: rest-api-3-project-projectIdOrKey-avatar-id path: /rest/api/3/project/{projectIdOrKey}/avatar/{id} operations: - name: atlassiandeleteprojectavatar method: DELETE description: Atlassian Delete Project Avatar outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectIdOrKey in: path type: string description: The project ID or (case-sensitive) key. required: true - name: id in: path type: integer description: The ID of the avatar. required: true - name: rest-api-3-project-projectIdOrKey-avatar2 path: /rest/api/3/project/{projectIdOrKey}/avatar2 operations: - name: atlassiancreateprojectavatar method: POST description: Atlassian Load Project Avatar outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectIdOrKey in: path type: string description: The ID or (case-sensitive) key of the project. required: true - name: x in: query type: integer description: The X coordinate of the top-left corner of the crop region. - name: y in: query type: integer description: The Y coordinate of the top-left corner of the crop region. - name: size in: query type: integer description: The length of each side of the crop region. - name: body in: body type: object description: Request body (JSON). required: true - name: rest-api-3-project-projectIdOrKey-avatars path: /rest/api/3/project/{projectIdOrKey}/avatars operations: - name: atlassiangetallprojectavatars method: GET description: Atlassian Get All Project Avatars outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectIdOrKey in: path type: string description: The ID or (case-sensitive) key of the project. required: true exposes: - type: rest namespace: rest-api-3-project--project-avatars-rest port: 8080 description: REST adapter for Atlassian rest/api/3/project/ — Project Avatars. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/3/project/{projectidorkey}/avatar name: rest-api-3-project-projectidorkey-avatar description: REST surface for rest-api-3-project-projectIdOrKey-avatar. operations: - method: PUT name: atlassianupdateprojectavatar description: Atlassian Set Project Avatar call: rest-api-3-project--project-avatars.atlassianupdateprojectavatar with: projectIdOrKey: rest.projectIdOrKey body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/3/project/{projectidorkey}/avatar/{id} name: rest-api-3-project-projectidorkey-avatar-id description: REST surface for rest-api-3-project-projectIdOrKey-avatar-id. operations: - method: DELETE name: atlassiandeleteprojectavatar description: Atlassian Delete Project Avatar call: rest-api-3-project--project-avatars.atlassiandeleteprojectavatar with: projectIdOrKey: rest.projectIdOrKey id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/3/project/{projectidorkey}/avatar2 name: rest-api-3-project-projectidorkey-avatar2 description: REST surface for rest-api-3-project-projectIdOrKey-avatar2. operations: - method: POST name: atlassiancreateprojectavatar description: Atlassian Load Project Avatar call: rest-api-3-project--project-avatars.atlassiancreateprojectavatar with: projectIdOrKey: rest.projectIdOrKey x: rest.x y: rest.y size: rest.size body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/3/project/{projectidorkey}/avatars name: rest-api-3-project-projectidorkey-avatars description: REST surface for rest-api-3-project-projectIdOrKey-avatars. operations: - method: GET name: atlassiangetallprojectavatars description: Atlassian Get All Project Avatars call: rest-api-3-project--project-avatars.atlassiangetallprojectavatars with: projectIdOrKey: rest.projectIdOrKey outputParameters: - type: object mapping: $. - type: mcp namespace: rest-api-3-project--project-avatars-mcp port: 9090 transport: http description: MCP adapter for Atlassian rest/api/3/project/ — Project Avatars. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-set-project-avatar description: Atlassian Set Project Avatar hints: readOnly: false destructive: false idempotent: true call: rest-api-3-project--project-avatars.atlassianupdateprojectavatar with: projectIdOrKey: tools.projectIdOrKey body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-delete-project-avatar description: Atlassian Delete Project Avatar hints: readOnly: false destructive: true idempotent: true call: rest-api-3-project--project-avatars.atlassiandeleteprojectavatar with: projectIdOrKey: tools.projectIdOrKey id: tools.id outputParameters: - type: object mapping: $. - name: atlassian-load-project-avatar description: Atlassian Load Project Avatar hints: readOnly: false destructive: false idempotent: false call: rest-api-3-project--project-avatars.atlassiancreateprojectavatar with: projectIdOrKey: tools.projectIdOrKey x: tools.x y: tools.y size: tools.size body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-get-all-project-avatars description: Atlassian Get All Project Avatars hints: readOnly: true destructive: false idempotent: true call: rest-api-3-project--project-avatars.atlassiangetallprojectavatars with: projectIdOrKey: tools.projectIdOrKey outputParameters: - type: object mapping: $.