Dear Mossucca ,
diwmi01 already provided the document of portal api, can you expand
under section
Apis : API operations
click Model to show the parameter description.
There are 3 nodes related to the swagger file,
SpecFilename (
string,
optional):
Specifies the filename of the Swagger or WADL file that documents the API. If SpecFilename is specified, SpecContent should be specified as well.
,
SpecContent (
string,
optional):
Specifies the type of the specification file (ie Swagger, WADL, Json). The API needs a specification file so that developers can use the API Explorer to understand the API. If SpecContent is specified, SpecFilename should be specified as well.
,
SpecFilesize (
integer,
optional):
The size of the specification file in bytes (1048576)
,
(The interactive document doesn't say, but SpecContent needs to be base64 encoded, the body "Example Value" shows the same).
Regards,
Mark