Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

API Development Documentation #673

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

dbrenden
Copy link

Write an API development document to be placed in the Freeseer development docs.

@dideler dideler added this to the 2014 Fall - UCOSP milestone Nov 30, 2014

Freeseer's API strives to be RESTful, so you should learn the basics of REST theory to ensure that your endpoint is in fact RESTful. What follows is by no means a replacement for figuring out how RESTful APIs and endpoints are designed, but it is useful for understanding some of the design choices for our framework.

A REST API is a resource based interface for interacting with software. The most common use case for a REST API, is to allow us to interact with software across a network, without requiring any knowledge of the software'srinternals. Any parts of your software you wish to control externally are abstracted into resources and signified by URIs called endpoints. So in other words to design and develop a RESTful API is to design and develop endpoints that will allow us to interact with parts of your software from the outside. If some set of endpoints is logically related, they are grouped into a set called an API (For example, the Recording API, or the Configuration API).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you wrap the text (say at 80 chars), it'll make review easier. Right now this whole paragraph is one line, so it's difficult to comment on specific parts.

-------------------

In the most simplistic and crude sense, a RESTful endpoint will be the plural
of the type of resource that you want perform a ``GET``, ``POST``, ``DELETE``,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"plural form"

"want to"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants