Infografis
Infografis
METHOD: POST
Service ini menyediakan data inforgrafis.
{{baseurl}}/app/v1/infografis/
Headers
Header | Type | Required | Description |
---|---|---|---|
x-username | string | Yes | The username for the user |
x-password | string | Yes | The password for the user |
Auth Type
Auth Type | Type | Required | Description |
---|---|---|---|
Bearer Token | string | Yes | Key app to access API (You need an token API. Please log in to the API to generate an token. If you already have an token, please provide it below.) |
Parameter
Field | Type | Required | Description |
---|---|---|---|
pages | Number | Yes |
Page to display Infografis |
Success (200 OK)
HTTP/1.1 200 OK
{ "code": "200", "message": "data-available", "data": { "total": 51, "totalPages": 6, "currentPage": 1, "data": [ { "id": "21", "img": "icon_2709221050416332731147d701214.jpg", "keterangan": "Pemerintahan" },...
Error 4xx
HTTP/1.1 40x
{
"code": "40x",
"message": "account does not match",
"data": []
}