post https://{hostname}/api-definitions/v2/endpoints/files
Imports an API definition file and creates a new endpoint based on the file contents, optionally stripping out request or response body specifications. You can run this operation in two ways. To POST JSON data, see Make a JSON request to register an endpoint from an API definition file. To make a form request using these parameters, see Make a form request to register an endpoint from an API definition file.