Artboard
File notes

Remap a file note to a new filename

PATCH
/otto/api/file-notes/{filename}/remap

Remap File Note

Updates the filename mapping for an existing note.

Path Parameters

filename*string

PATCH /otto/api/file-notes/:filename/remap Parameter

Request Body

PATCH /otto/api/file-notes/:filename/remap Request body

application/json
  1. body
new_filename*string

Response Body

PATCH /otto/api/file-notes/:filename/remap Positive response

application/json
  1. response
messages*array<>
response*
Example Request
curl -X PATCH 'https://your.server.net/otto/api/file-notes/string/remap' \  -H 'Content-Type: application/json' \  -d '{  "new_filename": "string"}'
Example Response
{  "messages": [    {      "code": 0,      "text": "ok"    }  ],  "response": {}}

Was this page helpful?