System Files

POST /api/system/files

Changed on

POST operation for /api/system/files

post/api/system/files

Request

  • The document declares no server URL.
  • Auth
    socaAuth (a scheme the document does not define) and socaToken (a scheme the document does not define)

Headers

X-EDH-USERstring required

SOCA username for authentication

X-EDH-TOKENstring required

SOCA authentication token

Request body application/x-www-form-urlencoded

file_namestring base64 required

Base64 encoded file path

file_contentstring base64 required

Base64 encoded file content

Example request

{
  "file_name": "L2hvbWUvdXNlci9jb25maWcudHh0",
  "file_content": "SGVsbG8gV29ybGQ="
}

Response

File created/updated successfully

successboolean
messagestring

Example response

{
  "success": true,
  "message": "File Updated."
}

Changes

    • info

      the endpoint scheme security socaAuth AND socaToken was added to the API

    • info

      the endpoint scheme security edhAuth AND edhToken was removed from the API

    • info

      the endpoint scheme security edhAuth AND edhToken was added to the API

    • info

      the endpoint scheme security socaAuth AND socaToken was removed from the API