This file documents API methods and URLs for a fictional application called Phantastic Foto.
The Phantastic Photo API allows users to share and print photos.
The API is based on REST principles and accesses data using HTTP protocol.
The requests available for the Phantastic Foto API are:
- Create an album
- Update an album
- Delete an album
- Retreive an album
- Retreive a list of all albums
- Print an album
Creates a collection of images.
POST https://phantasticfoto.com/api/v1
Makes changes to an existing collection of images.
PUT https://phantasticfoto.com/api/v1/album/{album ID}
where {album ID} is the ID of the album to update.
Deletes an existing collection of images.
DELETE https://phantasticfoto.com/api/v1/album/{album ID}
where {album ID} is the ID of the album to delete.
Returns data about a specific collection of images.
GET https://phantasticfoto.com/api/v1/album/{album ID}
where {album ID} is the ID of the album to retreive.
Returns a list of all of the user's albums.
GET https://phantasticfoto.com/api/v1/album
Prints a collection of images.
POST https://phantasticfoto.com/api/v1/album/{album ID}/print
where {album ID} is the ID of the album to print.