1 Project
...... 1.1 Example
...... 1.2 Respond
2 Get Task
...... 1.1 Example
...... 2.2 Respond
Documentasi api Progrez Cloud for integrity in your's app
curl -i -X POST -H "Content-Type: multipart/form-data"
-F "token=YOUR_PROJECT_TOKEN"
https://progrez.cloud/services/project
1.1 example
curl -i -X POST -H "Content-Type: multipart/form-data" -F "token=qvtx8dej07os74v0p3vox8e4qff90qsl" https://progrez.cloud/services/project
1.2 Reponds
{
"errno": 0,
"errmsg": "API_TOKEN_OK",
"project": {
"id": "895",
"datetime": "2020-10-06 14:10:19",
"project_name": "PROPOSAL",
"description": "",
"privacy": "3",
"author": "261",
"img": "https://progrez.cloud/images/projects/thumb_default.png",
"status_done": "0",
"last_activity": "2020-10-15 00:27:24"
}
}
...
curl -i -X POST -H "Content-Type: multipart/form-data"
-F "token=YOUR_PROJECT_TOKEN"
-F "getTasks=NUMBER_ROW_OF_TASK"
https://progrez.cloud/services/project
2.1 example
curl -i -X POST -H "Content-Type: multipart/form-data" -F "token=qvtx8dej07os74v0p3vox8e4qff90qsl" -F "getTasks=1" https://progrez.cloud/services/project
2.2 Reponds
{
"errno": 0,
"errmsg": "API_TOKEN_OK",
"project": {
"id": "895",
"datetime": "2020-10-06 14:10:19",
"project_name": "PROPOSAL",
"description": "",
"privacy": "3",
"author": "261",
"img": "https://progrez.cloud/images/projects/thumb_default.png",
"status_done": "0",
"last_activity": "2020-10-15 00:27:24",
"task": {
"main": [
{
"id": "17768",
"task_name": "JUDUL PROPOSAL ",
"status_done": "0",
"datetime_done": "N/A",
"datetime": "2020-10-06 14:10:49",
"author": "261",
"description": "<p><br></p>",
"privacy": "2",
"sub": [
{
"id": "17770",
"task_name": "Alternativ Rupiah (IDAR)",
"status_done": "0",
"datetime_done": "N/A",
"datetime": "2020-10-06 14:16:09",
"author": "261",
"description": "<p>Indonesua Alternative Rupiah (IDAR)</p><p><br></p><p>Kategory : analisis</p>",
"privacy": "2"
},
{
"id": "17769",
"task_name": "Radio Lokal (Kampus)",
"status_done": "0",
"datetime_done": "N/A",
"datetime": "2020-10-06 14:13:26",
"author": "261",
"description": "<p><br></p><p><br></p><p>Kategory : programming</p>",
"privacy": "2"
},
{
"id": "17845",
"task_name": "Ticket ZITCON",
"status_done": "0",
"datetime_done": "N/A",
"datetime": "2020-10-15 00:27:24",
"author": "261",
"description": "",
"privacy": "2"
}
]
}
]
}
}
}