Last active
December 15, 2015 19:59
Revisions
-
apsoto revised this gist
Apr 10, 2013 . 1 changed file with 12 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,17 @@ "series" ], "properties": { "id": 14, "description": "GUNS & EXPLOSIVES", "channelsRank": 0, "pubDate": "2013-03-20T17:13:07Z", "title": "FPSRussia", "thumbnails": { "default": { "url": "http://i2.ytimg.com/i/EPTp5WMAzjh9mOrKUwRLmQ/1.jpg?v=50dbe8c2" } }, "totalEpisodes": 1 }, "entities": [ { @@ -20,10 +30,9 @@ "actions": [ { "name": "follow-series", "href": "http://api.wurl.dev/api/follows", "title": "Start following a series", "method": "POST", "fields": [ { "name": "series_id", -
apsoto created this gist
Apr 4, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,49 @@ { "class": [ "series" ], "properties": { }, "entities": [ { "rel": [ "episodes" ], "href": "http://api.wurl.dev/api/series/14/episodes", "class": [ "collection" ] } ], "actions": [ { "name": "follow-series", "title": "Start following a series", "method": "POST", "type": "application/x-www-form-urlencoded", "href": "http://api.wurl.dev/api/follows", "fields": [ { "name": "series_id", "type": "text", "value": 14 }, { "name": "user_id", "type": "text" } ] } ], "links": [ { "rel": [ "self" ], "href": "http://api.wurl.dev/api/series/14" } ] } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,37 @@ { "properties": { "totalItems": 0, "currentCount": 0 }, "actions": [ { "name": "follow-series", "title": "Start following a series", "method": "POST", "type": "application/x-www-form-urlencoded", "href": "http://api.wurl.dev/api/users/1/follows", "fields": [ { "name": "series_id", "type": "text" } ] } ], "links": [ { "rel": [ "self" ], "href": "http://api.wurl.dev/api/users/1/follows" }, { "rel": [ "parent" ], "href": "http://api.wurl.dev/api/users/1" } ] }