How to create a file in a plugin using the DSS public API

UserBird
UserBird Dataiker, Alpha Tester Posts: 535 Dataiker
edited July 16 in Using Dataiku

Hello,

it's quite easy to alter an existing file with the DSS REST API with the documented method POST (https://doc.dataiku.com/dss/api/4.1/rest/#plugins-plugin-contents-post)

But when i try to create a new file the API refuse to do it with this answer :


{
"errorType": "java.lang.IllegalArgumentException",
"message": "File README.md does not exist",
"detailedMessage": "File README.md does not exist",
"stackTrace": []
}

Does anyone acheived to create a new file without relying on the plugin update endpoint (uploading a zip file) ?

Or am i missing something ?

Tagged:

Answers

Setup Info
    Tags
      Help me…