Developer Portal API
Summary
Use this API to upload OpenAPI specifications ("Swaggers"):
- Create your API specification. You can use a swagger editor (e.g. Swagger Editor).
- Validate the specification, make sure it is well formatted and there are no errors.
- Check the schema specification below. Make sure all the mandatory fields are present. Note: the mandatory parameter x-project-id should uniquely identify your API, so it is common to use your Apigarden API name as the ID.
- Also, make sure the new version of the specification is different from the current (if present).
- Put your contact information.
- Use the POST request below to submit your specification. Note, make sure you select proper content type (application/json or application/yaml).
- Upload your draft specifications to stage first. Upload to production when the API version is production ready.
- Make sure a proper server is selected. For example, you should select https://developer.teliacompany.io when using the production portal, but https://stage.developer.teliacompany.io when in stage environment of the portal.
- Also note, tokens are different for different environments, so your production token will not work in stage and vice verse.