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

content*string
filename*string

Response Body

application/json

application/json

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