Fellowship One REST API

People

An Image is a resource that belongs to a person and can be represented as small, medium, or large. This resource only contains a show method.

Authentication

This method requires Authentication

Methods

Images ::

Method: show [GET]

The show method will return an image of a person based on context (people/{id}) or id (people/{personID}/images/{id}).

Notes ::

Content-types ::

Format ::

Parameters ::

Sample Response ::

Given: [GET] https://demo.staging.fellowshiponeapi.com/v1/People/1522375/Images?size=M

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: image/jpeg
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Tue, 28 Apr 2009 02:10:10 GMT
Content-Length: 2335

People Image

Method: create [POST]

The create method will create a single image with or without context (people).

Notes ::

Content-types ::

Format ::

Parameters ::

Required Fields ::

Sample Response ::

Given: [POST] https://demo.staging.fellowshiponeapi.com/v1/People/1635398/Image

Request body: File stream posted

Response

HTTP/1.1 201 Created
Cache-Control: private
Content-Type: image/jpeg
Location: https://demo.staging.fellowshiponeapi.com/v1/people/1635398/images
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 2.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Thu, 05 May 2011 04:15:51 GMT
Content-Length: 2704

Response body: File stream created

Method: update [PUT] [POST (Low REST)]

The update method will update an image with or without context (people).

Notes ::

Content-types ::

Parameters ::

Required Fields ::

Sample Response ::

Given: [PUT] https://demo.staging.fellowshiponeapi.com/v1/People/13707831/Images

Request body: File stream posted

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: image/jpeg
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 2.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Thu, 05 May 2011 04:29:41 GMT
Content-Length: 2704