Dokumentasi API (lanjut)

Pada post kali ini saya akan menjelaskan bagian-bagian dari dokumentasi menggunakan apiary:
HOST: http://absen-in.herokuapp.com/api/ —host yang digunakan

# dev-PPLMantap-API –judul koleksi api pada proyek absenin

Absenin is a android application that allows users to record their attendances and get some points by winning subscribed challenges. –penjelasan singkat mengenai proyek

# Group Challenge –kumpulan api pada controller challenge

Resources related to challenge in the API. –penjelasan singkat mengenai kumpulan api

## Challenge Collection [/challenges] –deklarasi koleksi api

### List All Challenges [GET] –nama api beserta jenis methodnya
Simple API allowing users to see all challenges. –penjelasan singkat mengenai api

+ Response 200 (application/json) –contoh respon yang dikembalikan beserta contoh data yang mungkin dikembalikan

[
{
“id”: 1,
“description”: “Description of a challenge”,
“points”: 100,
“rules”: “Rules of a challenge”,
“created_at”: “2017-04-25 17:38:43”,
“updated_at”: “2017-04-25 17:38:43”
}
]

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s