Upload Model

  • Path: /models
  • HTTP Verb: POST
  • Required API Key: Ocp-Apim-Subscription-Key (Get API Key)
  • Request Content-Type: multipart/form-data

 

Description

Uploads a model file to a subscription. The model must be a valid .NET assembly compiled for .NET Core. We will be allowing other model types in the future. The file name can't begin with EdiNation and the file size must be less than 5 MB. This operation is only applicable to custom models.

 

Errors

  • 200: Success
  • 400: When the file stream is invalid or the form-data is not set properly. If the file isn't a valid .NET assembly or the file name starts with EdiNation. When the file is bigger than the limit.
  • 500: Something went wrong on our end. Please report at support@edination.com

 

Example

Go to examples and Swagger test

Was this article helpful?
0 out of 0 found this helpful