Skip to main content

Get single gallery

GET 

/gallery/:gallery_id

Get single gallery, and wallpaper data with it.

Request

Path Parameters

    gallery_id integerrequired

    The gallery ID

Query Parameters

    filter_date_day integer

    Possible values: >= 1 and <= 31

    Filter wallpaper by day of the month. (A value of 0 is the equivalent of null)

    filter_date_month integer

    Possible values: >= 1 and <= 12

    Filter wallpaper by month. (A value of 0 is the equivalent of null)

    filter_date_operator string

    Possible values: [=, >, >=, <, <=]

    Default value: >=

    filter_date_year integer

    Possible values: >= 1997

    Filter wallpaper by year. (A value of 0 is the equivalent of null)

    filter_res_height integer

    Filter wallpaper resolutions by height

    filter_res_operator string

    Possible values: [=, >, >=, <, <=]

    Default value: >=

    Overrides 'operator_height' and 'operator_width'

    filter_res_operator_height string

    Possible values: [=, >, >=, <, <=]

    Default value: >=

    Defaults to 'filter_res_operator' value

    filter_res_operator_width string

    Possible values: [=, >, >=, <, <=]

    Default value: >=

    Defaults to 'filter_res_operator' value

    filter_res_width integer

    Filter wallpaper resolutions by width

    show_comments boolean

    default: false

    show_pickle_jar boolean

    default: false

    show_resolutions 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

    gallery

    object

    id integer

    Object ID

    name string

    Name/title of the gallery

    paths

    object

    api string

    Path to use with the db_core.endpoints.api

    thumb string

    Path to use with the db_core.endpoints.thumb

    web string

    Path to use with the db_core.endpoints.web

    wallpaper_ids integer[]
Loading...