Version deployed on Aug 10, 2017.

Bump Api

This is the official Bump API documentation. Obviously created with Bump. Note that this is an experimental API on which everything could change.

This is the documentation for version 1.0 of the API. Last update on Aug 10, 2017.

Base URL


Create a new version

Create a new version for a given API, which will become the current version.

URL parameters
  • api_id Required / integer

    Id of the API you want to update

  • format string

    Format of the definition. Accepted values are json and yaml.

  • definition Required / string

    Definition of the version. Currently, only OpenApi 2.0 specification is supported. Can be sent as a JSON string or a YAML one.

  • 204

    No content

  • default object

    Unexpected error

    • message string

      Human readable error message

Example request
$ curl \ -X POST{:api_id}/versions \ -H "Content-Type: application/json" \ -d '{"format":"string","definition":"string"}'
Example response (204)
No content
Example response (default)
{ "message": "string" }