Artboard
File notes

Create or update a file note

Upsert File Note

Creates a new file note or updates an existing one.

POST
/otto/api/file-notes

Request Body

application/json

POST /otto/api/file-notes Request body

filename*string
content*string

Response Body

application/json

application/json

curl -X POST "https://your.server.net/otto/api/file-notes" \  -H "Content-Type: application/json" \  -d '{    "filename": "string",    "content": "string"  }'
{
  "response": {},
  "messages": [
    {
      "code": 0,
      "text": "ok"
    }
  ]
}
{
  "response": {},
  "messages": [
    {
      "code": 18011,
      "text": "OttoFMS sample error"
    }
  ]
}