Using internal API

You can upload a schema file using Xapix's interal API. A cURL command is provided, as is a user token for authentication.

  1. In a project, select Home > Data Sources.

  2. Click Add Data Source. (Note: If your project does not have any data sources, you can click Create a new Data Source.)

  3. Select REST Data Source from the dropdown menu.

  4. Copy the cURL command to a terminal

  5. Change the path to the schema file and change the user token to the provided token.

  6. Run the command.

  7. If successful, Xapix will display the message, "Schema was successfully imported".

  8. Select Home > Data Sources. You should now see a list of data sources that have been read from the imported schema.

Upload schema using Xapix internal API