Get comments/ratings
GET/comments/:wallpaper_id
Get comments/ratings
Request
Path Parameters
The wallpaper ID
Query Parameters
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
Array [
]
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
comments
object[]
Array of comment objects
Object ID
User ID of the comment author
Display name of comment author
Comment content
Possible values: >= 1
and <= 5
{
"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
},
"comments": [
{
"id": 0,
"author_id": 0,
"author_display": "string",
"content": "string",
"rating": 0,
"timestamp": 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"
}