# Icons
URL : /icons/:id
Method : GET
Auth required : YES
{
"Authorization": "Bearer <token>"
}
# Success Response
Code : 200 OK
Content return types
{
statusCode: Number,
statusMessage: String,
message: String,
data: {
sid: String,
name: String,
pack: String,
slug: String,
colors?: {
primary: String,
primaryOpacity: Number,
secondary: String,
secondaryOpacity: Number
}
}
}
# Error Response
Code : 500 Internal Server Error
Condition : If something server-side goes wrong.
Content return types :
{
statusCode: Number,
statusMessage: String,
message: String,
error?: String
}
Code : 404 Not Found
Condition : When the requested icon doesn't exist.
Content return types :
{
statusCode: Number,
statusMessage: String,
message: String
}
Code : 400 Bad Request
Condition : Bad request.
Content return types :
{
statusCode: Number,
statusMessage: String,
message: String
}