Skip to content
This repository was archived by the owner on Dec 17, 2019. It is now read-only.

API Documentation

ashley williams edited this page Jun 12, 2015 · 5 revisions

API Documentation

Routes and Conventions

  • Collection URLs: /plural-resource

    A Collection URL will return a collection of resource object representations.

    e.g. /users returns a collection of all User objects

  • Element URLs: /plural-resource/{id}, where {id} is an application unique integer

    An Element URL will return a single resource object representation, based on the id attribute.

    e.g. /users/1 returns the single User object, whose id is 1

Resources:

The API represented 3 resources: Users, Projects, and Files, where:

  • Projects belong to Users, and
  • Files belong to Projects.

Resource Details

Clone this wiki locally