Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
1.2 kB
2
Indexable
Never
[
  {
    "url": "news/",
    "method": "GET",
    "response": {
      "result": [
        {
          "id*": "UUID",
          "created*": "2018-10-20'T'19-20-10",
          "title*": "Title",
          "subtitle": "Short description",
          "body*": "Description",
          "is_read*": false,
          "images*": [
            "/resources/news/:id/1234.png"
          ]
        }
      ],
      "total": 42,
      "totals": {
        "unread": 13
      }
    },
    "query_params": {
      "limit": 10,
      "offset": 0,
      "platform": "ios/anroid/web",
      "client": "investor/manager",
      "version": "1.13.0"
    },
    "headers": {
      "Authorization": "Bearer (jwt)",
      "Accept-Language": "en"
    }
  },
  {
    "url": "news/:id/mark_as_read",
    "method": "PATCH",
    "body": {},
    "query_params": {},
    "headers": {
      "Authorization": "Bearer (jwt)",
      "Accept-Language": "en"
    },
    "response": {}
  },
  {
    "url": "news/read_all",
    "method": "PATCH",
    "body": {},
    "query_params": {},
    "headers": {
      "Authorization": "Bearer (jwt)",
      "Accept-Language": "en"
    },
    "response": {}
  }
]