openapi: 3.2.0 info: title: Ubicloud Project API version: 0.1.0 contact: url: https://www.ubicloud.com/ email: support@ubicloud.com license: name: GNU Affero General Public License v3.0 (AGPL-3.0) url: https://www.gnu.org/licenses/agpl-3.0.en.html description: 'Operations tagged Project across 2 of this provider''s published API definitions: ubicloud-openapi.yml, ubicloud-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: https://api.ubicloud.com security: - BearerAuth: [] tags: - description: Project Operations name: Project paths: /project/{project_id}: parameters: - $ref: '#/components/parameters/project_id' delete: operationId: deleteProject summary: Delete a project responses: '204': $ref: '#/components/responses/Delete' default: $ref: '#/components/responses/Error' tags: - Project get: operationId: getProject summary: Retrieve a project responses: '200': $ref: '#/components/responses/Project' default: $ref: '#/components/responses/Error' tags: - Project servers: - url: https://api.ubicloud.com /project/{project_id}/object-info/{object_id}: parameters: - $ref: '#/components/parameters/project_id' - $ref: '#/components/parameters/object_id' get: operationId: getObjectInfo summary: Return information on object type, location, and name responses: '200': $ref: '#/components/responses/ObjectInfo' default: $ref: '#/components/responses/Error' tags: - Project servers: - url: https://api.ubicloud.com components: responses: Delete: description: An empty response after successful resource delete Error: description: An error response content: application/json: schema: $ref: '#/components/schemas/Error' ObjectInfo: description: Type, location, and name information for object content: application/json: schema: type: object properties: type: description: Type of object type: string location: description: Location of object type: string name: description: Name of object type: string additionalProperties: false required: - type - location - name Project: description: A Project content: application/json: schema: $ref: '#/components/schemas/Project' schemas: Error: type: object properties: error: type: object additionalProperties: false properties: code: type: integer example: 401 message: type: string example: There was an error logging in type: type: string example: InvalidCredentials details: type: - object - 'null' required: - code - message - type additionalProperties: false required: - error Project: type: object properties: id: type: string example: pjkkmx0f2vke4h36nk9cm8v8q0 pattern: ^pj[0-9a-hj-km-np-tv-z]{24}$ name: description: Name of the project type: string example: my-project additionalProperties: false required: - id - name parameters: project_id: description: ID of the project in: path name: project_id required: true schema: type: string example: pjkkmx0f2vke4h36nk9cm8v8q0 pattern: ^pj[0-9a-hj-km-np-tv-z]{24}$ object_id: description: ID of a supported object in: path name: object_id required: true schema: type: string example: fwkkmx0f2vke4h36nk9cm8v8q0 pattern: ^(fw|kc|1b|m1|pg|ps|vm)[0-9a-hj-km-np-tv-z]{24}$ securitySchemes: BearerAuth: bearerFormat: JWT scheme: bearer type: http x-refined-from: - ubicloud-openapi.yml - ubicloud-openapi.yml