Adding APIs - Getting Started

Create a simple API Project

  1. Navigate to [YOUR HUB URL]/studio or click the My APIs link in the header of the API Hub. You may need to log in before accessing it.

  2. In the dropdown in the upper right, select Personal. This will display the API Projects in your Personal Account.

  3. Click Add API Project in the upper right.

  4. In the Add API Project dialog:

  • For Name, enter My Sample.
  • For Description, enter A sample API.
  • For Category, select Other (or select a different category).
  • For Team, select Personal.
  • For Import data from, select Do not import.
2894

πŸ“˜

Import files describing your API

In the example above, we kept things simple and did not import a file describing the API. If you have one, we strongly suggest you start by importing your file. This will populate many of the details related to the API for you.

You can import the data in the following formats:

  1. OpenAPI - The is an OpenAPI Specification (OAS) document commonly used to describe REST APIs. Files of type JSON, X-YAML, and YAML can be uploaded.
  2. Postman Collection - JSON files can be uploaded.
  3. GraphQL Schema - You add your schema using introspection, or by uploading a schema file of type JSON, TXT, GRAPHQL, or GRAPHQLS.
  4. Kafka - You do not import a file, but instead configure your Kafka API. See Kafka APIs (Beta).
  1. Click Add API Project. Your My Sample API Project should be added to your Personal Account.

  2. In the sidebar, select Hub Listing. You can then view and modify your API Project's details.

View the Hub Listing tab in Studio.

View the Hub Listing tab in Studio.

See the pages that follow for details on setting up your API.