disguise developers

NOTES API

GET note

Summary

Returns a single note

URL

GET    /api/session/note

Query Params

uid    uint64    

name    string    

Response

{
  "status": {
    "code": 0,
    "message": "",
    "details": [
      {
        "type_url": "",
        "value": ""
      }
    ]
  },
  "result": {
    "note": {
      "uid": "",
      "name": ""
    },
    "text": ""
  }
}

POST note

Summary

Create/Update a Note

URL

POST    /api/session/note

Request

{
  "note": {
    "uid": "",
    "name": ""
  },
  "text": ""
}

Response

{
  "status": {
    "code": 0,
    "message": "",
    "details": [
      {
        "type_url": "",
        "value": ""
      }
    ]
  },
  "result": {
    "note": {
      "uid": "",
      "name": ""
    },
    "text": ""
  }
}

GET notes

Summary

Returns all named notes

URL

GET    /api/session/notes

Query Params

start    uint64    

count    uint64    

Response

{
  "status": {
    "code": 0,
    "message": "",
    "details": [
      {
        "type_url": "",
        "value": ""
      }
    ]
  },
  "result": [
    {
      "note": {
        "uid": "",
        "name": ""
      },
      "text": ""
    }
  ]
}