Get single gallery
GET/gallery/:gallery_id
Get single gallery, and wallpaper data with it.
Request
Path Parameters
The gallery ID
Query Parameters
Possible values: >= 1
and <= 31
Filter wallpaper by day of the month. (A value of 0 is the equivalent of null)
Possible values: >= 1
and <= 12
Filter wallpaper by month. (A value of 0 is the equivalent of null)
Possible values: [=
, >
, >=
, <
, <=
]
Default value: >=
Possible values: >= 1997
Filter wallpaper by year. (A value of 0 is the equivalent of null)
Filter wallpaper resolutions by height
Possible values: [=
, >
, >=
, <
, <=
]
Default value: >=
Overrides 'operator_height' and 'operator_width'
Possible values: [=
, >
, >=
, <
, <=
]
Default value: >=
Defaults to 'filter_res_operator' value
Possible values: [=
, >
, >=
, <
, <=
]
Default value: >=
Defaults to 'filter_res_operator' value
Filter wallpaper resolutions by width
default: false
default: false
Default value: true
Possible values: >= 1
and <= 50
Default value: 10
Possible values: >= 1
Default value: 1
Responses
- 200
- 400
- 401
Successful response
- application/json
- Schema
- Example (from schema)
Schema
db_core
object
The structure of all possible data include in the response. Not everything documented for db_core
will always appear.
endpoints
object
Endpoints to be used with all paths.*
values
Endpoint prefix for all paths.api
values
Endpoint prefix for all paths.image
values
Endpoint prefix for all paths.thumb
values
Endpoint prefix for all paths.web
values
request
object
The request data
Contains the data provided within the body (POST) request.
Contains the variables provided within the path/route.
Contains the data provided within the query (GET) request.
This value will appear in a pagination query to represent the maximum value for page
gallery
object
Object ID
Name/title of the gallery
paths
object
Path to use with the db_core.endpoints.api
Path to use with the db_core.endpoints.thumb
Path to use with the db_core.endpoints.web
{
"db_core": {
"timestamp": 0,
"endpoints": {
"api": "https://api.digitalblasphemy.com/v2/core",
"image": "https://isekai.digitalblasphemy.com",
"thumb": "https://cdn.digitalblasphemy.com",
"web": "https://digitalblasphemy.com"
},
"request": {
"body": {},
"params": {},
"query": {}
},
"total_pages": 0
},
"gallery": {
"id": 0,
"name": "Fluorescence",
"paths": {
"api": "/gallery/0",
"thumb": "/thumbnail/640x480/fluorescence_thumbnail_640x480.jpg",
"web": "string"
},
"wallpaper_ids": [
0
]
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Array of error message strings
{
"code": 0,
"description": "string",
"errors": [
"string"
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"code": 0,
"description": "string"
}