{
  "info": {
    "name": "Newsifly mobile API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "http://localhost:8000/api/v1"
    },
    {
      "key": "token",
      "value": ""
    },
    {
      "key": "guestId",
      "value": "3f2b1c9d-7a64-4e10-b8c5-0d9e6a1f4b72"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{token}}",
        "type": "string"
      }
    ]
  },
  "item": [
    {
      "name": "App",
      "item": [
        {
          "name": "GET /config",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/config",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "config"
              ],
              "variable": [],
              "query": []
            },
            "description": "Branding, languages, sign-in methods, ad settings and categories. Call this first."
          }
        }
      ]
    },
    {
      "name": "Sign in",
      "item": [
        {
          "name": "POST /auth/register",
          "request": {
            "method": "POST",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/register",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "register"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"\",\n  \"email\": \"reader@example.com\",\n  \"password\": \"\",\n  \"device_name\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Create a reader account and get a token."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const j = pm.response.json();",
                  "if (j.token) pm.collectionVariables.set('token', j.token);"
                ]
              }
            }
          ]
        },
        {
          "name": "POST /auth/login",
          "request": {
            "method": "POST",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/login",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "login"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"reader@example.com\",\n  \"password\": \"\",\n  \"device_name\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Sign in with email and password."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const j = pm.response.json();",
                  "if (j.token) pm.collectionVariables.set('token', j.token);"
                ]
              }
            }
          ]
        },
        {
          "name": "POST /auth/google",
          "request": {
            "method": "POST",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/google",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "google"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id_token\": \"\",\n  \"device_name\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Sign in with a Google ID token from the app."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const j = pm.response.json();",
                  "if (j.token) pm.collectionVariables.set('token', j.token);"
                ]
              }
            }
          ]
        },
        {
          "name": "POST /auth/apple",
          "request": {
            "method": "POST",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/apple",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "apple"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"identity_token\": \"\",\n  \"name\": \"\",\n  \"device_name\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Sign in with an Apple identity token."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const j = pm.response.json();",
                  "if (j.token) pm.collectionVariables.set('token', j.token);"
                ]
              }
            }
          ]
        },
        {
          "name": "POST /auth/otp/request",
          "request": {
            "method": "POST",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/otp/request",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "otp",
                "request"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"phone\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Send a sign-in code by SMS (when phone sign-in is on)."
          }
        },
        {
          "name": "POST /auth/otp/verify",
          "request": {
            "method": "POST",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/otp/verify",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "otp",
                "verify"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"phone\": \"\",\n  \"code\": \"\",\n  \"device_name\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Exchange the code for a token."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const j = pm.response.json();",
                  "if (j.token) pm.collectionVariables.set('token', j.token);"
                ]
              }
            }
          ]
        },
        {
          "name": "POST /auth/forgot-password",
          "request": {
            "method": "POST",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/forgot-password",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "forgot-password"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"reader@example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Email a password reset link."
          }
        },
        {
          "name": "POST /auth/logout",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/logout",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "logout"
              ],
              "variable": [],
              "query": []
            },
            "description": "Sign out this device."
          }
        },
        {
          "name": "POST /auth/logout-all",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/logout-all",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "logout-all"
              ],
              "variable": [],
              "query": []
            },
            "description": "Sign out every device."
          }
        }
      ]
    },
    {
      "name": "Account",
      "item": [
        {
          "name": "GET /me",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/me",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "me"
              ],
              "variable": [],
              "query": []
            },
            "description": "The signed-in reader."
          }
        },
        {
          "name": "PUT /me",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/me",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "me"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"\",\n  \"email\": \"reader@example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Change name or email."
          }
        },
        {
          "name": "POST /me/password",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/me/password",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "me",
                "password"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"current_password\": \"\",\n  \"password\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Change or set the password."
          }
        },
        {
          "name": "GET /me/preferences",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/me/preferences",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "me",
                "preferences"
              ],
              "variable": [],
              "query": []
            },
            "description": "Language, topics, location, notification choices."
          }
        },
        {
          "name": "PUT /me/preferences",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/me/preferences",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "me",
                "preferences"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"language\": \"\",\n  \"location\": \"\",\n  \"topics\": \"1\",\n  \"notifications\": \"\",\n  \"theme\": \"\",\n  \"font_scale\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Save preferences (merged with what is stored)."
          }
        },
        {
          "name": "POST /me/author-request",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/me/author-request",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "me",
                "author-request"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"message\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Ask for author access."
          }
        },
        {
          "name": "GET /me/devices",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/me/devices",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "me",
                "devices"
              ],
              "variable": [],
              "query": []
            },
            "description": "Devices this reader is signed in on."
          }
        },
        {
          "name": "DELETE /me/devices/{id}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/me/devices/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "me",
                "devices",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ],
              "query": []
            },
            "description": "Sign out one device."
          }
        },
        {
          "name": "POST /me/delete",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/me/delete",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "me",
                "delete"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"password\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Delete the account and all its data."
          }
        }
      ]
    },
    {
      "name": "Stories",
      "item": [
        {
          "name": "GET /home",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/home",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "home"
              ],
              "variable": [],
              "query": []
            },
            "description": "Front page: lead, latest, breaking, sections, most read."
          }
        },
        {
          "name": "GET /articles",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/articles",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "articles"
              ],
              "variable": [],
              "query": [
                {
                  "key": "category",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "tag",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "author",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "q",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "featured",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "breaking",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "page",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "per_page",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Story list with filters."
          }
        },
        {
          "name": "GET /search",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/search",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "search"
              ],
              "variable": [],
              "query": [
                {
                  "key": "q",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "category",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "page",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "per_page",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Search stories (q is required)."
          }
        },
        {
          "name": "GET /articles/{slug}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/articles/:slug",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "articles",
                ":slug"
              ],
              "variable": [
                {
                  "key": "slug",
                  "value": "1"
                }
              ],
              "query": []
            },
            "description": "Full story with text, tags, poll and bookmark state."
          }
        },
        {
          "name": "GET /articles/{slug}/related",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/articles/:slug/related",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "articles",
                ":slug",
                "related"
              ],
              "variable": [
                {
                  "key": "slug",
                  "value": "1"
                }
              ],
              "query": []
            },
            "description": "Related stories."
          }
        },
        {
          "name": "GET /categories",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/categories",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "categories"
              ],
              "variable": [],
              "query": []
            },
            "description": "Category tree."
          }
        },
        {
          "name": "GET /authors/{slug}",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/authors/:slug",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "authors",
                ":slug"
              ],
              "variable": [
                {
                  "key": "slug",
                  "value": "1"
                }
              ],
              "query": []
            },
            "description": "Author profile (stories come from /articles?author=)."
          }
        }
      ]
    },
    {
      "name": "Media",
      "item": [
        {
          "name": "GET /shorts",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/shorts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "shorts"
              ],
              "variable": [],
              "query": [
                {
                  "key": "page",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "per_page",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Short news cards."
          }
        },
        {
          "name": "GET /videos",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/videos",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "videos"
              ],
              "variable": [],
              "query": [
                {
                  "key": "category",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "page",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "per_page",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Video news."
          }
        },
        {
          "name": "GET /videos/{slug}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/videos/:slug",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "videos",
                ":slug"
              ],
              "variable": [
                {
                  "key": "slug",
                  "value": "1"
                }
              ],
              "query": []
            },
            "description": "One video, reel or live stream."
          }
        },
        {
          "name": "GET /reels",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/reels",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "reels"
              ],
              "variable": [],
              "query": [
                {
                  "key": "page",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "per_page",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Reels."
          }
        },
        {
          "name": "GET /live",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/live",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "live"
              ],
              "variable": [],
              "query": []
            },
            "description": "Streams on air and coming up."
          }
        },
        {
          "name": "GET /galleries",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/galleries",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "galleries"
              ],
              "variable": [],
              "query": [
                {
                  "key": "page",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Photo galleries."
          }
        },
        {
          "name": "GET /galleries/{slug}",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/galleries/:slug",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "galleries",
                ":slug"
              ],
              "variable": [
                {
                  "key": "slug",
                  "value": "1"
                }
              ],
              "query": []
            },
            "description": "One gallery with all photos."
          }
        },
        {
          "name": "GET /epaper",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/epaper",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "epaper"
              ],
              "variable": [],
              "query": [
                {
                  "key": "page",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "E-paper editions, newest first."
          }
        },
        {
          "name": "GET /epaper/{id}",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/epaper/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "epaper",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ],
              "query": []
            },
            "description": "One edition (pdf_url to download or render)."
          }
        }
      ]
    },
    {
      "name": "Engagement",
      "item": [
        {
          "name": "GET /bookmarks",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/bookmarks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "bookmarks"
              ],
              "variable": [],
              "query": [
                {
                  "key": "page",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Saved stories."
          }
        },
        {
          "name": "PUT /bookmarks/{slug}",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/bookmarks/:slug",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "bookmarks",
                ":slug"
              ],
              "variable": [
                {
                  "key": "slug",
                  "value": "1"
                }
              ],
              "query": []
            },
            "description": "Save a story."
          }
        },
        {
          "name": "DELETE /bookmarks/{slug}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/bookmarks/:slug",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "bookmarks",
                ":slug"
              ],
              "variable": [
                {
                  "key": "slug",
                  "value": "1"
                }
              ],
              "query": []
            },
            "description": "Remove a saved story."
          }
        },
        {
          "name": "GET /articles/{slug}/comments",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/articles/:slug/comments",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "articles",
                ":slug",
                "comments"
              ],
              "variable": [
                {
                  "key": "slug",
                  "value": "1"
                }
              ],
              "query": [
                {
                  "key": "sort",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "page",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Comments with replies. sort=new|top."
          }
        },
        {
          "name": "POST /articles/{slug}/comments",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/articles/:slug/comments",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "articles",
                ":slug",
                "comments"
              ],
              "variable": [
                {
                  "key": "slug",
                  "value": "1"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"body\": \"\",\n  \"parent_id\": \"1\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Post a comment or a reply."
          }
        },
        {
          "name": "POST /comments/{id}/react",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/comments/:id/react",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "comments",
                ":id",
                "react"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"type\": \"like\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Like or dislike (repeat the same type to undo)."
          }
        },
        {
          "name": "POST /comments/{id}/report",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/comments/:id/report",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "comments",
                ":id",
                "report"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"reason\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Report a comment."
          }
        },
        {
          "name": "DELETE /comments/{id}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/comments/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "comments",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ],
              "query": []
            },
            "description": "Delete your own comment."
          }
        },
        {
          "name": "POST /polls/{id}/vote",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Guest-Id",
                "value": "{{guestId}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/polls/:id/vote",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "polls",
                ":id",
                "vote"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"option\": \"1\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Vote once. Guests send a stable X-Guest-Id header."
          }
        }
      ]
    },
    {
      "name": "Notifications",
      "item": [
        {
          "name": "POST /devices",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/devices",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "devices"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"token\": \"\",\n  \"platform\": \"android\",\n  \"locale\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Register a push token (guests allowed)."
          }
        },
        {
          "name": "POST /devices/unregister",
          "request": {
            "method": "POST",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/devices/unregister",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "devices",
                "unregister"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"token\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Remove a push token."
          }
        },
        {
          "name": "GET /notifications",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/notifications",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "notifications"
              ],
              "variable": [],
              "query": [
                {
                  "key": "page",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Recent alerts (the inbox)."
          }
        }
      ]
    },
    {
      "name": "Ads",
      "item": [
        {
          "name": "GET /ads/{placement}",
          "request": {
            "method": "GET",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ads/:placement",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ads",
                ":placement"
              ],
              "variable": [
                {
                  "key": "placement",
                  "value": "1"
                }
              ],
              "query": []
            },
            "description": "A custom banner for an app slot, or null."
          }
        },
        {
          "name": "POST /ads/{id}/click",
          "request": {
            "method": "POST",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ads/:id/click",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ads",
                ":id",
                "click"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ],
              "query": []
            },
            "description": "Count a tap and get the address to open."
          }
        }
      ]
    }
  ]
}