PUT {{baseUrl}}/apis/{{apiId}}/schemas/{{schemaId}}/files/{{filePath}}
Creates or updates an API schema file. Include the following in the request body: Note:
content
— A string value that contains the file's contents.
/
(forward slash) character, then a folder is created. For example, if the file path is the dir/schema.json
value, then a dir
folder is created with the schema.json
file inside.root
tag for protobuf specifications.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
RESPONSES
status OK
{
"id": "ae2b9ab2-28f2-401d-912f-eca09a78e98b",
"createdBy": "2345",
"updatedBy": "2345",
"createdAt": "2022-03-29T11:37:15Z",
"updatedAt": "2022-03-29T11:37:15Z",
"path": "data-model/index.json",
"name": "index.json"
} |
ENDPOINTS