Skip to content

API request response format for listing news #4

@sakethramanujam

Description

@sakethramanujam

Request

GET /news
Authorization: Bearer <token>

Response

200 OK
{ 
    "articles": [
                      {  "title"       : '...',
                         "source"  : '....',
                         "topic"     :'....',
                          "url"        :'....'
                       },
                      { ... },
                  ],
    "next": "url"
}
---
404 Not Found

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requesthacktoberfestHacktoberfest 2019 Label

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions