Skip to main content

Get news posts

GET 

/news

Only the latest 10 comments will be returned per wallpaper, if a wallpaper_id is attached to the post.

Request

Query Parameters

    show_comments boolean

    default: false

    show_pickle_jar boolean

    default: false

    show_resolutions boolean

    Default value: true

    show_wallpaper boolean

    Default value: true

    limit integer

    Possible values: >= 1 and <= 50

    Default value: 10

    page integer

    Possible values: >= 1

    Default value: 1

    s string

Responses

Successful response

Schema

    db_core

    object

    The structure of all possible data include in the response. Not everything documented for db_core will always appear.

    timestamp integer

    endpoints

    object

    Endpoints to be used with all paths.* values

    api string

    Endpoint prefix for all paths.api values

    image string

    Endpoint prefix for all paths.image values

    thumb string

    Endpoint prefix for all paths.thumb values

    web string

    Endpoint prefix for all paths.web values

    request

    object

    The request data

    body object

    Contains the data provided within the body (POST) request.

    params object

    Contains the variables provided within the path/route.

    query object

    Contains the data provided within the query (GET) request.

    total_pages integer

    This value will appear in a pagination query to represent the maximum value for page

    news

    object[]

    Array of news post objects

  • Array [

  • id integer

    Object ID

    content string

    News post content.

    paths

    object

    api string

    Path to use with the db_core.endpoints.api

    web string

    Path to use with the db_core.endpoints.web

    timestamp integer
    title string

    Title of the news post.

    wallpaper_id integernullable

    Wallpaper ID

  • ]

Loading...