Comments
All actions for the "/wallpapers/:id/comments" endpoint.
Create a comment on a wallpaper
POST https://api.lolwallpapers.net/beta/wallpapers/:id/comments
Path Parameters
id
string
The wallpaper ID.
Request Body
content
string
The content of the comment. (6 caracters minimum)
Get a wallpaper comments
GET https://api.lolwallpapers.net/beta/wallpapers/:id/comments
Path Parameters
id
string
The wallpaper ID.
Query Parameters
sort
string
Sort by: - created_at (default) - updated_at
order
string
Order by: - asc - desc (default)
limit
string
The amount of comments to display per page. Default: 20 Minimum: 1 Maximum: 50
page
string
The page to display. Default: 1 Minimum: 1
Edit a wallpaper's comment
PATCH https://api.lolwallpapers.net/beta/wallpapers/:wid/comments:cid
Path Parameters
wid
string
The wallpaper ID.
cid
string
The comment ID.
Request Body
content
string
The content of the comment.
Delete a wallpaper's comment
DELETE https://api.lolwallpapers.net/beta/wallpalers/:wid/comments/:cid
Path Parameters
wid
string
The wallpaper ID.
cid
string
The comment ID.
Like a wallpaper's comment
POST https://api.lolwallpapers.net/beta/wallpapers/:wid/comments/:cid/like
Path Parameters
wid
string
The wallpaper ID.
cid
string
The comment ID.
Last updated
Was this helpful?