openapi: 3.1.0 info: title: Ansible Development Tools APIs version: 1.0.0 description: APIs for ansible development tools paths: /metadata: get: summary: Retrieve versions of installed tools and existing API endpoints responses: "200": description: A list of installed tools and their versions content: application/json: schema: $ref: "#/components/schemas/Metadata" /v1/creator/collection: post: summary: Create a new collection project requestBody: content: application/json: schema: $ref: "#/components/schemas/CreatorCollection" required: true responses: "201": description: Created content: application/tar: schema: AnyValue: {} "400": description: Bad Request content: application/json: schema: $ref: "#/components/schemas/Error" /v1/creator/playbook: post: summary: Create a new playbook project requestBody: content: application/json: schema: $ref: "#/components/schemas/CreatorPlaybook" required: true responses: "201": description: Created content: application/tar: schema: AnyValue: {} "400": description: Bad Request content: application/json: schema: $ref: "#/components/schemas/Error" /v2/creator/collection: post: summary: Create a new collection project requestBody: content: application/json: schema: $ref: "#/components/schemas/CreatorCollection" required: true responses: "201": description: Created content: application/tar: schema: AnyValue: {} "400": description: Bad Request content: application/json: schema: $ref: "#/components/schemas/Error" /v2/creator/playbook: post: summary: Create a new playbook project requestBody: content: application/json: schema: $ref: "#/components/schemas/CreatorPlaybookNewCLI" required: true responses: "201": description: Created content: application/tar: schema: AnyValue: {} "400": description: Bad Request content: application/json: schema: $ref: "#/components/schemas/Error" /v2/creator/devfile: post: summary: Create a new devfile project responses: "201": description: Created content: application/tar: schema: AnyValue: {} "400": description: Bad Request content: application/json: schema: $ref: "#/components/schemas/Error" components: schemas: Metadata: type: object properties: versions: type: object additionalProperties: type: string apis: type: object additionalProperties: type: array items: type: string CreatorCollection: type: object additionalProperties: false properties: collection: type: string project: type: string CreatorPlaybook: type: object additionalProperties: false properties: project: type: string scm_project: type: string scm_org: type: string CreatorPlaybookNewCLI: type: object additionalProperties: false properties: project: type: string collection_name: type: string namespace: type: string Error: type: object properties: code: type: integer message: type: string