openapi: 3.0.0
info:
version: 2015-07-09
x-release: v4
title: APIs.io Engineering Platform Amazon API Gateway 2014 11 13 Cloudflare Images API
description:
Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.
x-logo: url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: apigateway x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/apigateway-2015-07-09.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://apigateway.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Amazon API Gateway multi-region endpoint - url: https://apigateway.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Amazon API Gateway multi-region endpoint - url: http://apigateway.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon API Gateway endpoint for China (Beijing) and China (Ningxia) - url: https://apigateway.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon API Gateway endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: Cloudflare Images paths: /accounts/{account_id}/images/v1: get: deprecated: true description: List up to 100 images with one request. Use the optional parameters below to get a specific range of images. operationId: cloudflare-images-list-images parameters: - in: path name: account_id required: true schema: $ref: '#/components/schemas/images_account_identifier' - in: query name: page schema: default: 1 description: Page number of paginated results. minimum: 1 type: number - in: query name: per_page schema: default: 1000 description: Number of items per page. maximum: 10000 minimum: 10 type: number responses: 4XX: content: application/json: schema: allOf: - $ref: '#/components/schemas/images_images_list_response' - $ref: '#/components/schemas/images_api-response-common-failure' description: List images response failure '200': content: application/json: schema: $ref: '#/components/schemas/images_images_list_response' description: List images response security: - api_token: [] - api_email: [] api_key: [] summary: APIs.io Engineering Platform List images tags: - Cloudflare Images x-api-token-group: - Images Read - Images Write post: description: 'Upload an image with up to 10 Megabytes using a single HTTP POST (multipart/form-data) request. An image can be uploaded by sending an image file or passing an accessible to an API url. ' operationId: cloudflare-images-upload-an-image-via-url parameters: - in: path name: account_id required: true schema: $ref: '#/components/schemas/images_account_identifier' requestBody: content: multipart/form-data: schema: $ref: '#/components/schemas/images_image_basic_upload' required: true responses: 4XX: content: application/json: schema: allOf: - $ref: '#/components/schemas/images_image_response_single' - $ref: '#/components/schemas/images_api-response-common-failure' description: Upload an image response failure '200': content: application/json: schema: $ref: '#/components/schemas/images_image_response_single' description: Upload an image response security: - api_token: [] - api_email: [] api_key: [] summary: APIs.io Engineering Platform Upload an image tags: - Cloudflare Images x-api-token-group: - Images Write /accounts/{account_id}/images/v1/{image_id}: delete: description: Delete an image on Cloudflare Images. On success, all copies of the image are deleted and purged from cache. operationId: cloudflare-images-delete-image parameters: - in: path name: image_id required: true schema: $ref: '#/components/schemas/images_image_identifier' - in: path name: account_id required: true schema: $ref: '#/components/schemas/images_account_identifier' requestBody: content: application/json: {} required: true responses: 4XX: content: application/json: schema: allOf: - $ref: '#/components/schemas/images_deleted_response' - $ref: '#/components/schemas/images_api-response-common-failure' description: Delete image response failure '200': content: application/json: schema: $ref: '#/components/schemas/images_deleted_response' description: Delete image response security: - api_token: [] - api_email: [] api_key: [] summary: APIs.io Engineering Platform Delete image tags: - Cloudflare Images x-api-token-group: - Images Write get: description: Fetch details for a single image. operationId: cloudflare-images-image-details parameters: - in: path name: image_id required: true schema: $ref: '#/components/schemas/images_image_identifier' - in: path name: account_id required: true schema: $ref: '#/components/schemas/images_account_identifier' responses: 4XX: content: application/json: schema: allOf: - $ref: '#/components/schemas/images_image_response_single' - $ref: '#/components/schemas/images_api-response-common-failure' description: Image details response failure '200': content: application/json: schema: $ref: '#/components/schemas/images_image_response_single' description: Image details response security: - api_token: [] - api_email: [] api_key: [] summary: APIs.io Engineering Platform Image details tags: - Cloudflare Images x-api-token-group: - Images Read - Images Write patch: description: Update image access control. On access control change, all copies of the image are purged from cache. operationId: cloudflare-images-update-image parameters: - in: path name: image_id required: true schema: $ref: '#/components/schemas/images_image_identifier' - in: path name: account_id required: true schema: $ref: '#/components/schemas/images_account_identifier' requestBody: content: application/json: schema: $ref: '#/components/schemas/images_image_patch_request' required: true responses: 4XX: content: application/json: schema: allOf: - $ref: '#/components/schemas/images_image_response_single' - $ref: '#/components/schemas/images_api-response-common-failure' description: Update image response failure '200': content: application/json: schema: $ref: '#/components/schemas/images_image_response_single' description: Update image response security: - api_token: [] - api_email: [] api_key: [] summary: APIs.io Engineering Platform Update image tags: - Cloudflare Images x-api-token-group: - Images Write /accounts/{account_id}/images/v1/{image_id}/blob: get: description: Fetch base image. For most images this will be the originally uploaded file. For larger images it can be a near-lossless version of the original. operationId: cloudflare-images-base-image parameters: - in: path name: image_id required: true schema: $ref: '#/components/schemas/images_image_identifier' - in: path name: account_id required: true schema: $ref: '#/components/schemas/images_account_identifier' responses: 4XX: content: application/json: schema: allOf: - $ref: '#/components/schemas/images_image_response_blob' - $ref: '#/components/schemas/images_api-response-common-failure' description: Base image response failure '200': content: image/*: schema: format: binary type: string description: Base image response. Returns uploaded image data. security: - api_token: [] - api_email: [] api_key: [] summary: APIs.io Engineering Platform Base image tags: - Cloudflare Images x-api-token-group: - Images Read - Images Write /accounts/{account_id}/images/v1/stats: get: description: Fetch usage statistics details for Cloudflare Images. operationId: cloudflare-images-images-usage-statistics parameters: - in: path name: account_id required: true schema: $ref: '#/components/schemas/images_account_identifier' responses: 4XX: content: application/json: schema: allOf: - $ref: '#/components/schemas/images_images_stats_response' - $ref: '#/components/schemas/images_api-response-common-failure' description: Images usage statistics response failure '200': content: application/json: schema: $ref: '#/components/schemas/images_images_stats_response' description: Images usage statistics response security: - api_token: [] - api_email: [] api_key: [] summary: APIs.io Engineering Platform Images usage statistics tags: - Cloudflare Images x-api-token-group: - Images Read - Images Write /accounts/{account_id}/images/v2: get: description: 'List up to 10000 images with one request. Use the optional parameters below to get a specific range of images. Endpoint returns continuation_token if more images are present. ' operationId: cloudflare-images-list-images-v2 parameters: - in: path name: account_id required: true schema: $ref: '#/components/schemas/images_account_identifier' - in: query name: continuation_token schema: description: Continuation token for a next page. List images V2 returns continuation_token nullable: true type: string - in: query name: per_page schema: default: 1000 description: Number of items per page. maximum: 10000 minimum: 10 type: number - in: query name: sort_order schema: default: desc description: Sorting order by upload time. enum: - asc - desc type: string responses: 4XX: content: application/json: schema: allOf: - $ref: '#/components/schemas/images_images_list_response_v2' - $ref: '#/components/schemas/images_api-response-common-failure' description: List images response failure '200': content: application/json: schema: $ref: '#/components/schemas/images_images_list_response_v2' description: List images response security: - api_token: [] - api_email: [] api_key: [] summary: APIs.io Engineering Platform List images V2 tags: - Cloudflare Images x-api-token-group: - Images Read - Images Write /accounts/{account_id}/images/v2/direct_upload: post: description: 'Direct uploads allow users to upload images without API keys. A common use case are web apps, client-side applications, or mobile devices where users upload content directly to Cloudflare Images. This method creates a draft record for a future image. It returns an upload URL and an image identifier. To verify if the image itself has been uploaded, send an image details request (accounts/:account_identifier/images/v1/:identifier), and check that the `draft: true` property is not present.' operationId: cloudflare-images-create-authenticated-direct-upload-url-v-2 parameters: - in: path name: account_id required: true schema: $ref: '#/components/schemas/images_account_identifier' requestBody: content: multipart/form-data: schema: $ref: '#/components/schemas/images_image_direct_upload_request_v2' required: true responses: 4XX: content: application/json: schema: allOf: - $ref: '#/components/schemas/images_image_direct_upload_response_v2' - $ref: '#/components/schemas/images_api-response-common-failure' description: Create authenticated direct upload URL V2 response failure '200': content: application/json: schema: $ref: '#/components/schemas/images_image_direct_upload_response_v2' description: Create authenticated direct upload URL V2 response security: - api_token: [] - api_email: [] api_key: [] summary: APIs.io Engineering Platform Create authenticated direct upload URL V2 tags: - Cloudflare Images x-api-token-group: - Images Write components: schemas: images_image_response_blob: anyOf: - type: string - type: object example: