spec/fixtures/collection_query.json in pmp-0.4.0 vs spec/fixtures/collection_query.json in pmp-0.4.1

- old
+ new

@@ -1,1118 +1,953 @@ { - "version": "1.0", - "href": "https://api-sandbox.pmp.io/docs", - "links": { - "item": [ - { - "href": "https://api-sandbox.pmp.io/docs/a360c31b-58ec-46a0-8198-a92efa960188" - }, - { - "href": "https://api-sandbox.pmp.io/docs/e77aa925-53e0-4cfd-8f16-db6146faef3e" - }, - { - "href": "https://api-sandbox.pmp.io/docs/70809fac-82d1-4864-ae13-b58fb3543a6e" - }, - { - "href": "https://api-sandbox.pmp.io/docs/3e53f16a-e086-4269-ba84-196cf21bf8a9" - }, - { - "href": "https://api-sandbox.pmp.io/docs/0c9eeb61-dba5-431a-be8e-ad74c64aad2b" - }, - { - "href": "https://api-sandbox.pmp.io/docs/a79b1983-bd6e-448c-ac6f-601dd5366f41" - }, - { - "href": "https://api-sandbox.pmp.io/docs/5acb929e-1ce5-4d5a-a09d-6cb615c05b63" - }, - { - "href": "https://api-sandbox.pmp.io/docs/c2e536cf-f885-493f-a5f1-34dc87d53943" - }, - { - "href": "https://api-sandbox.pmp.io/docs/46f3e464-7f76-4529-8a69-fd20cb5047a0" - }, - { - "href": "https://api-sandbox.pmp.io/docs/bb6e5679-c581-4db5-8b17-94365230d7e2" - } + "version": "1.0", + "href": "https://api-sandbox.pmp.io/docs", + "links": { + "item": [ + { + "href": "https://api-sandbox.pmp.io/docs/c0ea1434-7201-4407-b447-8c4987f1fd0c" + }, + { + "href": "https://api-sandbox.pmp.io/docs/c48e44a8-e844-4ec7-884d-83a597a21487" + }, + { + "href": "https://api-sandbox.pmp.io/docs/32063759-e8dd-4c11-9c02-f05df9654990" + }, + { + "href": "https://api-sandbox.pmp.io/docs/0390510e-f1cb-4cef-b362-1e916d4c92f1" + }, + { + "href": "https://api-sandbox.pmp.io/docs/f237f87d-1f40-4178-9eba-b068b5dc6f7b" + }, + { + "href": "https://api-sandbox.pmp.io/docs/a8fd2d1c-d192-4460-b71e-dc454af94462" + }, + { + "href": "https://api-sandbox.pmp.io/docs/5870dde6-e310-49e7-896e-4935f35667d4" + }, + { + "href": "https://api-sandbox.pmp.io/docs/29b68f08-f0a7-4425-b70d-570fed4012c7" + }, + { + "href": "https://api-sandbox.pmp.io/docs/2acb0e5b-8626-429b-a3cc-d399621a9c61" + }, + { + "href": "https://api-sandbox.pmp.io/docs/0d3f7687-00c4-4df0-bcbb-bfd7c8dbc1c6" + } + ], + "navigation": [ + { + "href": "https://api-sandbox.pmp.io/docs", + "rels": [ + "self" ], + "totalitems": 39219, + "totalpages": 3922, + "pagenum": 1 + }, + { + "href": "https://api-sandbox.pmp.io/docs?offset=10", + "rels": [ + "next" + ], + "pagenum": 2 + }, + { + "href": "https://api-sandbox.pmp.io/docs?", + "rels": [ + "first" + ], + "pagenum": 1 + }, + { + "href": "https://api-sandbox.pmp.io/docs?offset=39210", + "rels": [ + "last" + ], + "pagenum": 3922 + } + ], + "query": [ + { + "href-template": "https://api-sandbox.pmp.io/docs/{guid}{?limit,offset}", + "title": "Access documents", + "rels": [ + "urn:collectiondoc:hreftpl:docs" + ], + "href-vars": { + "limit": "http://docs.pmp.io/wiki/Querying-the-API#limit", + "offset": "http://docs.pmp.io/wiki/Querying-the-API#offset", + "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents" + }, + "hints": { + "allow": [ + "GET" + ] + } + }, + { + "href-template": "https://api-sandbox.pmp.io/profiles/{guid}", + "title": "Access profiles", + "rels": [ + "urn:collectiondoc:hreftpl:profiles" + ], + "href-vars": { + "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents" + }, + "hints": { + "allow": [ + "GET" + ] + } + }, + { + "href-template": "https://api-sandbox.pmp.io/schemas/{guid}", + "title": "Access schemas", + "rels": [ + "urn:collectiondoc:hreftpl:schemas" + ], + "href-vars": { + "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents" + }, + "hints": { + "allow": [ + "GET" + ] + } + }, + { + "href-template": "https://api-sandbox.pmp.io/docs{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,language,profile,collection,has,distributor,distributorgroup,author,text}", + "title": "Query for documents", + "rels": [ + "urn:collectiondoc:query:docs" + ], + "href-vars": { + "guid": "http://docs.pmp.io/wiki/Querying-the-API#guid", + "limit": "http://docs.pmp.io/wiki/Querying-the-API#limit", + "offset": "http://docs.pmp.io/wiki/Querying-the-API#offset", + "searchsort": "http://docs.pmp.io/wiki/Querying-the-API#searchsort", + "startdate": "http://docs.pmp.io/wiki/Querying-the-API#startdate", + "enddate": "http://docs.pmp.io/wiki/Querying-the-API#enddate", + "writeable": "http://docs.pmp.io/wiki/Querying-the-API#writeable", + "tag": "http://docs.pmp.io/wiki/Querying-the-API#tag", + "language": "http://docs.pmp.io/wiki/Querying-the-API#language", + "profile": "http://docs.pmp.io/wiki/Querying-the-API#profile", + "collection": "http://docs.pmp.io/wiki/Querying-the-API#collection", + "has": "http://docs.pmp.io/wiki/Querying-the-API#has", + "distributor": "http://docs.pmp.io/wiki/Querying-the-API#distributor", + "distributorgroup": "http://docs.pmp.io/wiki/Querying-the-API#distributorgroup", + "author": "http://docs.pmp.io/wiki/Querying-the-API#author", + "text": "http://docs.pmp.io/wiki/Querying-the-API#text" + }, + "hints": { + "allow": [ + "GET" + ] + } + }, + { + "href-template": "https://api-sandbox.pmp.io/profiles{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,collection,text}", + "title": "Query for profiles", + "rels": [ + "urn:collectiondoc:query:profiles" + ], + "href-vars": { + "guid": "http://docs.pmp.io/wiki/Querying-the-API#guid", + "limit": "http://docs.pmp.io/wiki/Querying-the-API#limit", + "offset": "http://docs.pmp.io/wiki/Querying-the-API#offset", + "searchsort": "http://docs.pmp.io/wiki/Querying-the-API#searchsort", + "startdate": "http://docs.pmp.io/wiki/Querying-the-API#startdate", + "enddate": "http://docs.pmp.io/wiki/Querying-the-API#enddate", + "writeable": "http://docs.pmp.io/wiki/Querying-the-API#writeable", + "tag": "http://docs.pmp.io/wiki/Querying-the-API#tag", + "collection": "http://docs.pmp.io/wiki/Querying-the-API#collection", + "text": "http://docs.pmp.io/wiki/Querying-the-API#text" + }, + "hints": { + "allow": [ + "GET" + ] + } + }, + { + "href-template": "https://api-sandbox.pmp.io/schemas{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,collection,text}", + "title": "Query for schemas", + "rels": [ + "urn:collectiondoc:query:schemas" + ], + "href-vars": { + "guid": "http://docs.pmp.io/wiki/Querying-the-API#guid", + "limit": "http://docs.pmp.io/wiki/Querying-the-API#limit", + "offset": "http://docs.pmp.io/wiki/Querying-the-API#offset", + "searchsort": "http://docs.pmp.io/wiki/Querying-the-API#searchsort", + "startdate": "http://docs.pmp.io/wiki/Querying-the-API#startdate", + "enddate": "http://docs.pmp.io/wiki/Querying-the-API#enddate", + "writeable": "http://docs.pmp.io/wiki/Querying-the-API#writeable", + "tag": "http://docs.pmp.io/wiki/Querying-the-API#tag", + "collection": "http://docs.pmp.io/wiki/Querying-the-API#collection", + "text": "http://docs.pmp.io/wiki/Querying-the-API#text" + }, + "hints": { + "allow": [ + "GET" + ] + } + }, + { + "href-template": "https://api-sandbox.pmp.io/users{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,collection,text}", + "title": "Query for users", + "rels": [ + "urn:collectiondoc:query:users" + ], + "href-vars": { + "guid": "http://docs.pmp.io/wiki/Querying-the-API#guid", + "limit": "http://docs.pmp.io/wiki/Querying-the-API#limit", + "offset": "http://docs.pmp.io/wiki/Querying-the-API#offset", + "searchsort": "http://docs.pmp.io/wiki/Querying-the-API#searchsort", + "startdate": "http://docs.pmp.io/wiki/Querying-the-API#startdate", + "enddate": "http://docs.pmp.io/wiki/Querying-the-API#enddate", + "writeable": "http://docs.pmp.io/wiki/Querying-the-API#writeable", + "tag": "http://docs.pmp.io/wiki/Querying-the-API#tag", + "collection": "http://docs.pmp.io/wiki/Querying-the-API#collection", + "text": "http://docs.pmp.io/wiki/Querying-the-API#text" + }, + "hints": { + "allow": [ + "GET" + ] + } + }, + { + "href-template": "https://api-sandbox.pmp.io/groups{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,collection,has,text}", + "title": "Query for groups", + "rels": [ + "urn:collectiondoc:query:groups" + ], + "href-vars": { + "guid": "http://docs.pmp.io/wiki/Querying-the-API#guid", + "limit": "http://docs.pmp.io/wiki/Querying-the-API#limit", + "offset": "http://docs.pmp.io/wiki/Querying-the-API#offset", + "searchsort": "http://docs.pmp.io/wiki/Querying-the-API#searchsort", + "startdate": "http://docs.pmp.io/wiki/Querying-the-API#startdate", + "enddate": "http://docs.pmp.io/wiki/Querying-the-API#enddate", + "writeable": "http://docs.pmp.io/wiki/Querying-the-API#writeable", + "tag": "http://docs.pmp.io/wiki/Querying-the-API#tag", + "collection": "http://docs.pmp.io/wiki/Querying-the-API#collection", + "has": "http://docs.pmp.io/wiki/Querying-the-API#has", + "text": "http://docs.pmp.io/wiki/Querying-the-API#text" + }, + "hints": { + "allow": [ + "GET" + ] + } + } + ], + "edit": [ + { + "href-template": "https://publish-sandbox.pmp.io/docs/{guid}", + "title": "Document Save", + "rels": [ + "urn:collectiondoc:form:documentsave" + ], + "href-vars": { + "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents" + }, + "hints": { + "formats": [ + "application/vnd.collection.doc+json" + ], + "allow": [ + "PUT" + ], + "docs": "http://docs.pmp.io/wiki/Collection.doc-JSON-Media-Type" + } + }, + { + "href-template": "https://publish-sandbox.pmp.io/docs/{guid}", + "title": "Document Delete", + "rels": [ + "urn:collectiondoc:form:documentdelete" + ], + "href-vars": { + "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents" + }, + "hints": { + "allow": [ + "DELETE" + ] + } + }, + { + "href": "https://publish-sandbox.pmp.io/files", + "title": "Upload a rich media file", + "rels": [ + "urn:collectiondoc:form:mediaupload" + ], + "href-vars": { + "submission": "http://docs.pmp.io/wiki/Media-File-Upload" + }, + "hints": { + "allow": [ + "POST" + ], + "accept-post": [ + "multipart/form-data" + ] + } + } + ], + "auth": [ + { + "href": "https://api-sandbox.pmp.io/auth/credentials", + "title": "List OAuth2 Credentials", + "rels": [ + "urn:collectiondoc:form:listcredentials" + ], + "hints": { + "allow": [ + "GET" + ], + "docs": "http://docs.pmp.io/wiki/Authenticating-with-the-API#testing-access" + } + }, + { + "href": "https://publish-sandbox.pmp.io/auth/credentials", + "title": "Create OAuth2 Credentials", + "rels": [ + "urn:collectiondoc:form:createcredentials" + ], + "hints": { + "allow": [ + "POST" + ], + "accept-post": [ + "application/x-www-form-urlencoded" + ], + "docs": "http://docs.pmp.io/wiki/Authenticating-with-the-API#generating-credentials" + } + }, + { + "href-template": "https://publish-sandbox.pmp.io/auth/credentials/{client_id}", + "title": "Remove OAuth2 Credentials", + "rels": [ + "urn:collectiondoc:form:removecredentials" + ], + "hints": { + "allow": [ + "DELETE" + ], + "docs": "http://docs.pmp.io/wiki/Authenticating-with-the-API#removing-a-credential" + } + }, + { + "href": "https://api-sandbox.pmp.io/auth/access_token", + "title": "Issue OAuth2 Token", + "rels": [ + "urn:collectiondoc:form:issuetoken" + ], + "hints": { + "allow": [ + "POST" + ], + "accept-post": [ + "application/x-www-form-urlencoded" + ], + "docs": "http://docs.pmp.io/wiki/Authentication-Model#token-management" + } + }, + { + "href": "https://publish-sandbox.pmp.io/auth/access_token", + "title": "Revoke OAuth2 Token", + "rels": [ + "urn:collectiondoc:form:revoketoken" + ], + "hints": { + "allow": [ + "DELETE" + ], + "docs": "http://docs.pmp.io/wiki/Authentication-Model#revoke-a-token" + } + } + ] + }, + "items": [ + { + "version": "", + "href": "https://api-sandbox.pmp.io/docs/c0ea1434-7201-4407-b447-8c4987f1fd0c", + "attributes": { + "valid": { + "from": "2014-08-29T19:35:59+00:00", + "to": "3014-08-29T19:35:59+00:00" + }, + "created": "2014-08-29T19:35:59+00:00", + "modified": "2014-08-29T19:35:59+00:00", + "title": "Thomas Crenshaw", + "emails": [ + { + "type": "primary", + "email": "thomascrenshaw@gmail.com" + } + ], + "guid": "c0ea1434-7201-4407-b447-8c4987f1fd0c", + "published": "2014-08-29T19:35:59+00:00" + }, + "links": { + "profile": [ + { + "href": "https://api-sandbox.pmp.io/profiles/user", + "type": "application/vnd.collection.doc+json" + } + ], + "creator": [ + { + "href": "https://api-sandbox.pmp.io/docs/af676335-21df-4486-ab43-e88c1b48f026" + } + ], + "item": [], "navigation": [ - { - "href": "https://api-sandbox.pmp.io/docs?", - "rels": [ - "self" - ], - "totalitems": 66380, - "totalpages": 6638, - "pagenum": 1 - }, - { - "href": "https://api-sandbox.pmp.io/docs?offset=10", - "rels": [ - "next" - ], - "pagenum": 2 - }, - { - "href": "https://api-sandbox.pmp.io/docs?", - "rels": [ - "first" - ], - "pagenum": 1 - }, - { - "href": "https://api-sandbox.pmp.io/docs?offset=66380", - "rels": [ - "last" - ], - "pagenum": 6638 - } + { + "href": "https://api-sandbox.pmp.io/docs/c0ea1434-7201-4407-b447-8c4987f1fd0c", + "rels": [ + "self" + ] + } + ] + } + }, + { + "version": "1.0", + "href": "https://api-sandbox.pmp.io/docs/c48e44a8-e844-4ec7-884d-83a597a21487", + "attributes": { + "valid": { + "from": "2014-08-29T02:58:39+00:00", + "to": "3014-08-29T02:58:39+00:00" + }, + "created": "2014-08-29T02:58:39+00:00", + "modified": "2014-08-29T02:58:39+00:00", + "hreflang": "en", + "guid": "c48e44a8-e844-4ec7-884d-83a597a21487", + "title": "Test for S Smith", + "published": "2014-08-29T02:58:37+00:00", + "byline": "David Moore", + "contentencoded": "<p>xyz</p>" + }, + "links": { + "profile": [ + { + "href": "https://api-sandbox.pmp.io/profiles/story" + } ], - "query": [ - { - "href-template": "https://api-sandbox.pmp.io/docs{/guid}{?limit,offset}", - "title": "Access documents", - "rels": [ - "urn:collectiondoc:hreftpl:docs" - ], - "href-vars": { - "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents", - "limit": "http://docs.pmp.io/wiki/Content-Retrieval#limit", - "offset": "http://docs.pmp.io/wiki/Content-Retrieval#offset" - }, - "hints": { - "allow": [ - "GET" - ] - } - }, - { - "href-template": "https://api-sandbox.pmp.io/docs{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,language,profile,collection,has,distributor,distributorgroup,author,text}", - "title": "Query for documents", - "rels": [ - "urn:collectiondoc:query:docs" - ], - "href-vars": { - "guid": "http://docs.pmp.io/wiki/Content-Retrieval#guid", - "limit": "http://docs.pmp.io/wiki/Content-Retrieval#limit", - "offset": "http://docs.pmp.io/wiki/Content-Retrieval#offset", - "searchsort": "http://docs.pmp.io/wiki/Content-Retrieval#searchsort", - "startdate": "http://docs.pmp.io/wiki/Content-Retrieval#startdate", - "enddate": "http://docs.pmp.io/wiki/Content-Retrieval#enddate", - "writeable": "http://docs.pmp.io/wiki/Content-Retrieval#writeable", - "tag": "http://docs.pmp.io/wiki/Content-Retrieval#tag", - "language": "http://docs.pmp.io/wiki/Content-Retrieval#language", - "profile": "http://docs.pmp.io/wiki/Content-Retrieval#profile", - "collection": "http://docs.pmp.io/wiki/Content-Retrieval#collection", - "has": "http://docs.pmp.io/wiki/Content-Retrieval#has", - "distributor": "http://docs.pmp.io/wiki/Content-Retrieval#distributor", - "distributorgroup": "http://docs.pmp.io/wiki/Content-Retrieval#distributorgroup", - "author": "http://docs.pmp.io/wiki/Content-Retrieval#author", - "text": "http://docs.pmp.io/wiki/Content-Retrieval#text" - }, - "hints": { - "allow": [ - "GET" - ] - } - }, - { - "href-template": "https://api-sandbox.pmp.io/profiles{/guid}", - "title": "Access profiles", - "rels": [ - "urn:collectiondoc:hreftpl:profiles" - ], - "href-vars": { - "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents" - }, - "hints": { - "allow": [ - "GET" - ] - } - }, - { - "href-template": "https://api-sandbox.pmp.io/profiles{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,collection,text}", - "title": "Query for profiles", - "rels": [ - "urn:collectiondoc:query:profiles" - ], - "href-vars": { - "guid": "http://docs.pmp.io/wiki/Content-Retrieval#guid", - "limit": "http://docs.pmp.io/wiki/Content-Retrieval#limit", - "offset": "http://docs.pmp.io/wiki/Content-Retrieval#offset", - "searchsort": "http://docs.pmp.io/wiki/Content-Retrieval#searchsort", - "startdate": "http://docs.pmp.io/wiki/Content-Retrieval#startdate", - "enddate": "http://docs.pmp.io/wiki/Content-Retrieval#enddate", - "writeable": "http://docs.pmp.io/wiki/Content-Retrieval#writeable", - "tag": "http://docs.pmp.io/wiki/Content-Retrieval#tag", - "collection": "http://docs.pmp.io/wiki/Content-Retrieval#collection", - "text": "http://docs.pmp.io/wiki/Content-Retrieval#text" - }, - "hints": { - "allow": [ - "GET" - ] - } - }, - { - "href-template": "https://api-sandbox.pmp.io/schemas{/guid}", - "title": "Access schemas", - "rels": [ - "urn:collectiondoc:hreftpl:schemas" - ], - "href-vars": { - "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents" - }, - "hints": { - "allow": [ - "GET" - ] - } - }, - { - "href-template": "https://api-sandbox.pmp.io/schemas{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,collection,text}", - "title": "Query for schemas", - "rels": [ - "urn:collectiondoc:query:schemas" - ], - "href-vars": { - "guid": "http://docs.pmp.io/wiki/Content-Retrieval#guid", - "limit": "http://docs.pmp.io/wiki/Content-Retrieval#limit", - "offset": "http://docs.pmp.io/wiki/Content-Retrieval#offset", - "searchsort": "http://docs.pmp.io/wiki/Content-Retrieval#searchsort", - "startdate": "http://docs.pmp.io/wiki/Content-Retrieval#startdate", - "enddate": "http://docs.pmp.io/wiki/Content-Retrieval#enddate", - "writeable": "http://docs.pmp.io/wiki/Content-Retrieval#writeable", - "tag": "http://docs.pmp.io/wiki/Content-Retrieval#tag", - "collection": "http://docs.pmp.io/wiki/Content-Retrieval#collection", - "text": "http://docs.pmp.io/wiki/Content-Retrieval#text" - }, - "hints": { - "allow": [ - "GET" - ] - } - }, - { - "href-template": "https://api-sandbox.pmp.io/users{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,collection,text}", - "title": "Query for users", - "rels": [ - "urn:collectiondoc:query:users" - ], - "href-vars": { - "guid": "http://docs.pmp.io/wiki/Content-Retrieval#guid", - "limit": "http://docs.pmp.io/wiki/Content-Retrieval#limit", - "offset": "http://docs.pmp.io/wiki/Content-Retrieval#offset", - "searchsort": "http://docs.pmp.io/wiki/Content-Retrieval#searchsort", - "startdate": "http://docs.pmp.io/wiki/Content-Retrieval#startdate", - "enddate": "http://docs.pmp.io/wiki/Content-Retrieval#enddate", - "writeable": "http://docs.pmp.io/wiki/Content-Retrieval#writeable", - "tag": "http://docs.pmp.io/wiki/Content-Retrieval#tag", - "collection": "http://docs.pmp.io/wiki/Content-Retrieval#collection", - "text": "http://docs.pmp.io/wiki/Content-Retrieval#text" - }, - "hints": { - "allow": [ - "GET" - ] - } - }, - { - "href-template": "https://api-sandbox.pmp.io/groups{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,collection,has,text}", - "title": "Query for groups", - "rels": [ - "urn:collectiondoc:query:groups" - ], - "href-vars": { - "guid": "http://docs.pmp.io/wiki/Content-Retrieval#guid", - "limit": "http://docs.pmp.io/wiki/Content-Retrieval#limit", - "offset": "http://docs.pmp.io/wiki/Content-Retrieval#offset", - "searchsort": "http://docs.pmp.io/wiki/Content-Retrieval#searchsort", - "startdate": "http://docs.pmp.io/wiki/Content-Retrieval#startdate", - "enddate": "http://docs.pmp.io/wiki/Content-Retrieval#enddate", - "writeable": "http://docs.pmp.io/wiki/Content-Retrieval#writeable", - "tag": "http://docs.pmp.io/wiki/Content-Retrieval#tag", - "collection": "http://docs.pmp.io/wiki/Content-Retrieval#collection", - "has": "http://docs.pmp.io/wiki/Content-Retrieval#has", - "text": "http://docs.pmp.io/wiki/Content-Retrieval#text" - }, - "hints": { - "allow": [ - "GET" - ] - } - }, - { - "href": "https://api-sandbox.pmp.io/guids", - "title": "Generate guids", - "rels": [ - "urn:collectiondoc:query:guids" - ], - "hints": { - "allow": [ - "POST" - ], - "accept-post": [ - "application/x-www-form-urlencoded" - ] - }, - "type": "application/json" - } + "alternate": [ + { + "href": "http://cppmp/post/test-s-smith-0" + } ], - "edit": [ - { - "href-template": "https://publish-sandbox.pmp.io/docs{/guid}", - "title": "Document Save", - "rels": [ - "urn:collectiondoc:form:documentsave" - ], - "href-vars": { - "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents" - }, - "hints": { - "formats": [ - "application/vnd.collection.doc+json" - ], - "allow": [ - "PUT", - "DELETE" - ], - "docs": "http://docs.pmp.io/wiki/Collection.doc-JSON-Media-Type" - } - }, - { - "href-template": "https://publish-sandbox.pmp.io/profiles{/guid}", - "title": "Profile Save", - "rels": [ - "urn:collectiondoc:form:profilesave" - ], - "href-vars": { - "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents" - }, - "hints": { - "formats": [ - "application/vnd.collection.doc+json" - ], - "allow": [ - "PUT", - "DELETE" - ], - "docs": "http://docs.pmp.io/wiki/Profile-profile" - } - }, - { - "href-template": "https://publish-sandbox.pmp.io/schemas{/guid}", - "title": "Schema Save", - "rels": [ - "urn:collectiondoc:form:schemasave" - ], - "href-vars": { - "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents" - }, - "hints": { - "formats": [ - "application/vnd.collection.doc+json" - ], - "allow": [ - "PUT", - "DELETE" - ], - "docs": "http://docs.pmp.io/wiki/Schema-profile" - } - }, - { - "href": "https://publish-sandbox.pmp.io/files", - "title": "Upload a rich media file", - "rels": [ - "urn:collectiondoc:form:mediaupload" - ], - "href-vars": { - "submission": "http://docs.pmp.io/wiki/Media-File-Upload" - }, - "hints": { - "allow": [ - "POST" - ], - "accept-post": [ - "multipart/form-data" - ] - } - } + "creator": [ + { + "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" + } ], - "auth": [ - { - "href": "https://publish-sandbox.pmp.io/auth/credentials", - "title": "Create OAuth2 Credentials", - "rels": [ - "urn:collectiondoc:form:createcredentials" - ], - "hints": { - "allow": [ - "POST" - ], - "docs": "http://docs.pmp.io/wiki/Authenticating-with-the-API#generating-credentials" - } - }, - { - "href-template": "https://publish-sandbox.pmp.io/auth/credentials/{client_id}", - "title": "Remove OAuth2 Credentials", - "rels": [ - "urn:collectiondoc:form:removecredentials" - ], - "hints": { - "allow": [ - "DELETE" - ], - "docs": "http://docs.pmp.io/wiki/Authenticating-with-the-API#removing-a-credential" - } - }, - { - "href": "https://api-sandbox.pmp.io/auth/access_token", - "title": "Issue OAuth2 Token", - "rels": [ - "urn:collectiondoc:form:issuetoken" - ], - "hints": { - "allow": [ - "POST" - ], - "accept-post": [ - "application/x-www-form-urlencoded" - ], - "docs": "http://docs.pmp.io/wiki/Authentication-Model#token-management" - } - }, - { - "href": "https://publish-sandbox.pmp.io/auth/access_token", - "title": "Revoke OAuth2 Token", - "rels": [ - "urn:collectiondoc:form:revoketoken" - ], - "hints": { - "allow": [ - "DELETE" - ], - "docs": "http://docs.pmp.io/wiki/Authentication-Model#revoke-a-token" - } - } + "item": [], + "navigation": [ + { + "href": "https://api-sandbox.pmp.io/docs/c48e44a8-e844-4ec7-884d-83a597a21487", + "rels": [ + "self" + ] + } ] + } }, - "items": [ - { - "version": "1.0", - "href": "https://api-sandbox.pmp.io/docs/a360c31b-58ec-46a0-8198-a92efa960188", - "attributes": { - "valid": { - "from": "2014-11-13T14:43:38+00:00", - "to": "3014-08-05T13:43:40+00:00" - }, - "created": "2014-08-05T13:43:40+00:00", - "modified": "2014-08-05T13:43:40+00:00", - "title": "eHG3DgJbKekW7S1qSLlS", - "guid": "a360c31b-58ec-46a0-8198-a92efa960188", - "published": "2014-11-13T14:43:38+00:00" - }, - "links": { - "profile": [ - { - "href": "https://api-sandbox.pmp.io/profiles/story" - } - ], - "creator": [ - { - "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" - } - ], - "item": [], - "navigation": [ - { - "href": "https://api-sandbox.pmp.io/docs?guid=a360c31b-58ec-46a0-8198-a92efa960188", - "rels": [ - "self" - ] - } - ] - } + { + "version": "1.0", + "href": "https://api-sandbox.pmp.io/docs/32063759-e8dd-4c11-9c02-f05df9654990", + "attributes": { + "valid": { + "from": "2014-08-29T02:54:31+00:00", + "to": "3014-08-29T02:54:31+00:00" }, - { - "version": "1.0", - "href": "https://api-sandbox.pmp.io/docs/e77aa925-53e0-4cfd-8f16-db6146faef3e", - "attributes": { - "valid": { - "from": "2014-08-05T16:44:08+00:00", - "to": "3014-08-05T16:44:08+00:00" - }, - "created": "2014-08-05T16:44:08+00:00", - "modified": "2014-08-05T16:44:09+00:00", - "hreflang": "en", - "guid": "e77aa925-53e0-4cfd-8f16-db6146faef3e", - "title": "image-2.jpg", - "published": "2014-08-05T16:38:55+00:00", - "byline": "Anonymous" - }, - "links": { - "profile": [ - { - "href": "https://api-sandbox.pmp.io/profiles/image" - } - ], - "alternate": [ - { - "href": "/file/8" - } - ], - "enclosure": [ - { - "href": "http://pmp42dev/sites/default/files/simpletest/557860/image-2.jpg", - "meta": { - "crop": "primary", - "height": 60, - "width": 80 - }, - "type": "image/jpeg" - } - ], - "creator": [ - { - "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" - } - ], - "item": [], - "navigation": [ - { - "href": "https://api-sandbox.pmp.io/docs?guid=e77aa925-53e0-4cfd-8f16-db6146faef3e", - "rels": [ - "self" - ] - } - ] - } + "created": "2014-08-29T02:54:31+00:00", + "modified": "2014-08-29T02:54:31+00:00", + "hreflang": "en", + "guid": "32063759-e8dd-4c11-9c02-f05df9654990", + "title": "Test for S Smith", + "published": "2014-08-29T02:54:28+00:00", + "byline": "David Moore", + "contentencoded": "<p>xyz</p>" + }, + "links": { + "profile": [ + { + "href": "https://api-sandbox.pmp.io/profiles/story" + } + ], + "alternate": [ + { + "href": "http://cppmp/post/test-s-smith" + } + ], + "creator": [ + { + "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" + } + ], + "item": [], + "navigation": [ + { + "href": "https://api-sandbox.pmp.io/docs/32063759-e8dd-4c11-9c02-f05df9654990", + "rels": [ + "self" + ] + } + ] + } + }, + { + "version": "1.0", + "href": "https://api-sandbox.pmp.io/docs/0390510e-f1cb-4cef-b362-1e916d4c92f1", + "attributes": { + "valid": { + "from": "2014-08-29T01:33:28+00:00", + "to": "3014-08-29T01:33:28+00:00" }, - { - "version": "1.0", - "href": "https://api-sandbox.pmp.io/docs/70809fac-82d1-4864-ae13-b58fb3543a6e", - "attributes": { - "valid": { - "from": "2014-08-05T16:49:09+00:00", - "to": "3014-08-05T16:49:09+00:00" - }, - "created": "2014-08-05T16:49:09+00:00", - "modified": "2014-08-05T16:49:09+00:00", - "hreflang": "en", - "guid": "70809fac-82d1-4864-ae13-b58fb3543a6e", - "title": "PMPAPI Simpletest test: 12:49:07", - "published": "2014-08-05T16:38:55+00:00", - "byline": "po9KgBZO", - "contentencoded": "cUmWxBQKcigEnDOETqSnAb5R4E0Ou0AN" - }, - "links": { - "profile": [ - { - "href": "https://api-sandbox.pmp.io/profiles/story" - } - ], - "alternate": [ - { - "href": "/node/1" - } - ], - "item": [ - { - "href": "https://api-sandbox.pmp.io/docs/0c9eeb61-dba5-431a-be8e-ad74c64aad2b" - } - ], - "creator": [ - { - "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" - } - ], - "navigation": [ - { - "href": "https://api-sandbox.pmp.io/docs?guid=70809fac-82d1-4864-ae13-b58fb3543a6e", - "rels": [ - "self" - ], - "totalitems": 1, - "totalpages": 1, - "pagenum": 1 - } - ] - }, - "items": [ - { - "version": "1.0", - "href": "https://api-sandbox.pmp.io/docs/0c9eeb61-dba5-431a-be8e-ad74c64aad2b", - "attributes": { - "valid": { - "from": "2014-08-05T16:49:05+00:00", - "to": "3014-08-05T16:49:05+00:00" - }, - "created": "2014-08-05T16:49:05+00:00", - "modified": "2014-08-05T16:49:06+00:00", - "hreflang": "en", - "guid": "0c9eeb61-dba5-431a-be8e-ad74c64aad2b", - "title": "image-test.jpg", - "published": "2014-08-05T16:38:55+00:00", - "byline": "Anonymous" - }, - "links": { - "profile": [ - { - "href": "https://api-sandbox.pmp.io/profiles/image" - } - ], - "alternate": [ - { - "href": "/file/9" - } - ], - "enclosure": [ - { - "href": "http://pmp42dev/sites/default/files/simpletest/989728/image-test.jpg", - "meta": { - "crop": "primary", - "height": 20, - "width": 40 - }, - "type": "image/jpeg" - } - ], - "creator": [ - { - "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" - } - ], - "item": [], - "navigation": [ - { - "href": "https://api-sandbox.pmp.io/docs?guid=0c9eeb61-dba5-431a-be8e-ad74c64aad2b", - "rels": [ - "self" - ] - } - ] - } - } + "created": "2014-08-29T01:33:28+00:00", + "modified": "2014-08-29T01:33:28+00:00", + "title": "eZoGQKXOhOXCqMENt1r1", + "teaser": "lOXBY0frsp", + "guid": "0390510e-f1cb-4cef-b362-1e916d4c92f1", + "published": "2014-08-29T01:33:28+00:00" + }, + "links": { + "profile": [ + { + "href": "https://api-sandbox.pmp.io/profiles/story" + } + ], + "creator": [ + { + "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" + } + ], + "item": [], + "navigation": [ + { + "href": "https://api-sandbox.pmp.io/docs/0390510e-f1cb-4cef-b362-1e916d4c92f1", + "rels": [ + "self" ] + } + ] + } + }, + { + "version": "1.0", + "href": "https://api-sandbox.pmp.io/docs/f237f87d-1f40-4178-9eba-b068b5dc6f7b", + "attributes": { + "valid": { + "from": "2014-08-29T01:23:59+00:00", + "to": "3014-08-29T01:23:59+00:00" }, - { - "version": "1.0", - "href": "https://api-sandbox.pmp.io/docs/3e53f16a-e086-4269-ba84-196cf21bf8a9", - "attributes": { - "valid": { - "from": "2014-08-05T16:44:12+00:00", - "to": "3014-08-05T16:44:12+00:00" - }, - "created": "2014-08-05T16:44:12+00:00", - "modified": "2014-08-05T16:44:12+00:00", - "hreflang": "en", - "guid": "3e53f16a-e086-4269-ba84-196cf21bf8a9", - "title": "PMPAPI Simpletest test: 12:44:10", - "published": "2014-08-05T16:38:55+00:00", - "byline": "tOG9x5mk", - "contentencoded": "n43BRp1rmlo0FNDzPFnRd03nR20w1Orr" - }, - "links": { - "profile": [ - { - "href": "https://api-sandbox.pmp.io/profiles/story" - } - ], - "alternate": [ - { - "href": "/node/1" - } - ], - "item": [ - { - "href": "https://api-sandbox.pmp.io/docs/e77aa925-53e0-4cfd-8f16-db6146faef3e" - } - ], - "creator": [ - { - "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" - } - ], - "navigation": [ - { - "href": "https://api-sandbox.pmp.io/docs?guid=3e53f16a-e086-4269-ba84-196cf21bf8a9", - "rels": [ - "self" - ], - "totalitems": 1, - "totalpages": 1, - "pagenum": 1 - } - ] - }, - "items": [ - { - "version": "1.0", - "href": "https://api-sandbox.pmp.io/docs/e77aa925-53e0-4cfd-8f16-db6146faef3e", - "attributes": { - "valid": { - "from": "2014-08-05T16:44:08+00:00", - "to": "3014-08-05T16:44:08+00:00" - }, - "created": "2014-08-05T16:44:08+00:00", - "modified": "2014-08-05T16:44:09+00:00", - "hreflang": "en", - "guid": "e77aa925-53e0-4cfd-8f16-db6146faef3e", - "title": "image-2.jpg", - "published": "2014-08-05T16:38:55+00:00", - "byline": "Anonymous" - }, - "links": { - "profile": [ - { - "href": "https://api-sandbox.pmp.io/profiles/image" - } - ], - "alternate": [ - { - "href": "/file/8" - } - ], - "enclosure": [ - { - "href": "http://pmp42dev/sites/default/files/simpletest/557860/image-2.jpg", - "meta": { - "crop": "primary", - "height": 60, - "width": 80 - }, - "type": "image/jpeg" - } - ], - "creator": [ - { - "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" - } - ], - "item": [], - "navigation": [ - { - "href": "https://api-sandbox.pmp.io/docs?guid=e77aa925-53e0-4cfd-8f16-db6146faef3e", - "rels": [ - "self" - ] - } - ] - } - } + "created": "2014-08-29T01:23:59+00:00", + "modified": "2014-08-29T01:24:00+00:00", + "hreflang": "en", + "guid": "f237f87d-1f40-4178-9eba-b068b5dc6f7b", + "title": "one more time", + "published": "2014-08-29T01:23:56+00:00", + "byline": "dmoore", + "contentencoded": "abc xyz" + }, + "links": { + "profile": [ + { + "href": "https://api-sandbox.pmp.io/profiles/story" + } + ], + "alternate": [ + { + "href": "http://pmp42dev/node/32" + } + ], + "creator": [ + { + "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" + } + ], + "item": [], + "navigation": [ + { + "href": "https://api-sandbox.pmp.io/docs/f237f87d-1f40-4178-9eba-b068b5dc6f7b", + "rels": [ + "self" ] + } + ] + } + }, + { + "version": "1.0", + "href": "https://api-sandbox.pmp.io/docs/a8fd2d1c-d192-4460-b71e-dc454af94462", + "attributes": { + "valid": { + "from": "2014-08-29T01:31:33+00:00", + "to": "3014-08-29T01:31:33+00:00" }, + "created": "2014-08-29T01:31:33+00:00", + "modified": "2014-08-29T01:31:33+00:00", + "hreflang": "en", + "guid": "a8fd2d1c-d192-4460-b71e-dc454af94462", + "title": "PMPAPI Simpletest test: 21:31:28", + "published": "2014-08-29T01:21:24+00:00", + "byline": "glxcwskN", + "contentencoded": "mN4hGCbOywOMpaTEh3LF6vcYB6A20x7e" + }, + "links": { + "profile": [ + { + "href": "https://api-sandbox.pmp.io/profiles/story" + } + ], + "alternate": [ + { + "href": "/node/1" + } + ], + "item": [ + { + "href": "https://api-sandbox.pmp.io/docs/5870dde6-e310-49e7-896e-4935f35667d4" + } + ], + "creator": [ + { + "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" + } + ], + "navigation": [ + { + "href": "https://api-sandbox.pmp.io/docs/a8fd2d1c-d192-4460-b71e-dc454af94462", + "rels": [ + "self" + ], + "totalitems": 1, + "totalpages": 1, + "pagenum": 1 + } + ] + }, + "items": [ { - "version": "1.0", - "href": "https://api-sandbox.pmp.io/docs/0c9eeb61-dba5-431a-be8e-ad74c64aad2b", - "attributes": { - "valid": { - "from": "2014-08-05T16:49:05+00:00", - "to": "3014-08-05T16:49:05+00:00" - }, - "created": "2014-08-05T16:49:05+00:00", - "modified": "2014-08-05T16:49:06+00:00", - "hreflang": "en", - "guid": "0c9eeb61-dba5-431a-be8e-ad74c64aad2b", - "title": "image-test.jpg", - "published": "2014-08-05T16:38:55+00:00", - "byline": "Anonymous" + "version": "1.0", + "href": "https://api-sandbox.pmp.io/docs/5870dde6-e310-49e7-896e-4935f35667d4", + "attributes": { + "valid": { + "from": "2014-08-29T01:31:27+00:00", + "to": "3014-08-29T01:31:27+00:00" }, - "links": { - "profile": [ - { - "href": "https://api-sandbox.pmp.io/profiles/image" - } - ], - "alternate": [ - { - "href": "/file/9" - } - ], - "enclosure": [ - { - "href": "http://pmp42dev/sites/default/files/simpletest/989728/image-test.jpg", - "meta": { - "crop": "primary", - "height": 20, - "width": 40 - }, - "type": "image/jpeg" - } - ], - "creator": [ - { - "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" - } - ], - "item": [], - "navigation": [ - { - "href": "https://api-sandbox.pmp.io/docs?guid=0c9eeb61-dba5-431a-be8e-ad74c64aad2b", - "rels": [ - "self" - ] - } - ] - } - }, - { - "version": "1.0", - "href": "https://api-sandbox.pmp.io/docs/a79b1983-bd6e-448c-ac6f-601dd5366f41", - "attributes": { - "valid": { - "from": "2014-08-05T16:00:17+00:00", - "to": "3014-08-05T16:00:17+00:00" + "created": "2014-08-29T01:31:27+00:00", + "modified": "2014-08-29T01:31:27+00:00", + "hreflang": "en", + "guid": "5870dde6-e310-49e7-896e-4935f35667d4", + "title": "image-test.jpg", + "published": "2014-08-29T01:21:24+00:00", + "byline": "Anonymous" + }, + "links": { + "profile": [ + { + "href": "https://api-sandbox.pmp.io/profiles/image" + } + ], + "alternate": [ + { + "href": "/file/9" + } + ], + "enclosure": [ + { + "href": "http://pmp42dev/sites/default/files/simpletest/915137/image-test.jpg", + "meta": { + "crop": "primary", + "height": 20, + "width": 40 }, - "created": "2014-08-05T16:00:17+00:00", - "modified": "2014-08-05T16:00:18+00:00", - "title": "z79ByB7cso3IezP0AA5f", - "teaser": "kEuvDs7uvC", - "guid": "a79b1983-bd6e-448c-ac6f-601dd5366f41", - "published": "2014-08-05T16:00:17+00:00" - }, - "links": { - "profile": [ - { - "href": "https://api-sandbox.pmp.io/profiles/story" - } - ], - "creator": [ - { - "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" - } - ], - "item": [], - "navigation": [ - { - "href": "https://api-sandbox.pmp.io/docs?guid=a79b1983-bd6e-448c-ac6f-601dd5366f41", - "rels": [ - "self" - ] - } + "type": "image/jpeg" + } + ], + "creator": [ + { + "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" + } + ], + "item": [], + "navigation": [ + { + "href": "https://api-sandbox.pmp.io/docs/5870dde6-e310-49e7-896e-4935f35667d4", + "rels": [ + "self" ] - } + } + ] + } + } + ] + }, + { + "version": "1.0", + "href": "https://api-sandbox.pmp.io/docs/5870dde6-e310-49e7-896e-4935f35667d4", + "attributes": { + "valid": { + "from": "2014-08-29T01:31:27+00:00", + "to": "3014-08-29T01:31:27+00:00" }, - { - "version": "1.0", - "href": "https://api-sandbox.pmp.io/docs/5acb929e-1ce5-4d5a-a09d-6cb615c05b63", - "attributes": { - "valid": { - "from": "2014-08-05T15:53:34+00:00", - "to": "3014-08-05T15:53:34+00:00" - }, - "created": "2014-08-05T15:53:34+00:00", - "modified": "2014-08-05T15:53:34+00:00", - "hreflang": "en", - "guid": "5acb929e-1ce5-4d5a-a09d-6cb615c05b63", - "title": "PMPAPI Simpletest test: 11:53:32", - "published": "2014-08-05T15:48:31+00:00", - "byline": "lZonThlB", - "contentencoded": "szZiHpR5I028ZQJNsshTV3C6qGyLbTeD" + "created": "2014-08-29T01:31:27+00:00", + "modified": "2014-08-29T01:31:27+00:00", + "hreflang": "en", + "guid": "5870dde6-e310-49e7-896e-4935f35667d4", + "title": "image-test.jpg", + "published": "2014-08-29T01:21:24+00:00", + "byline": "Anonymous" + }, + "links": { + "profile": [ + { + "href": "https://api-sandbox.pmp.io/profiles/image" + } + ], + "alternate": [ + { + "href": "/file/9" + } + ], + "enclosure": [ + { + "href": "http://pmp42dev/sites/default/files/simpletest/915137/image-test.jpg", + "meta": { + "crop": "primary", + "height": 20, + "width": 40 }, - "links": { - "profile": [ - { - "href": "https://api-sandbox.pmp.io/profiles/story" - } - ], - "alternate": [ - { - "href": "/node/1" - } - ], - "item": [ - { - "href": "https://api-sandbox.pmp.io/docs/c2e536cf-f885-493f-a5f1-34dc87d53943" - } - ], - "creator": [ - { - "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" - } - ], - "navigation": [ - { - "href": "https://api-sandbox.pmp.io/docs?guid=5acb929e-1ce5-4d5a-a09d-6cb615c05b63", - "rels": [ - "self" - ], - "totalitems": 1, - "totalpages": 1, - "pagenum": 1 - } - ] - }, - "items": [ - { - "version": "1.0", - "href": "https://api-sandbox.pmp.io/docs/c2e536cf-f885-493f-a5f1-34dc87d53943", - "attributes": { - "valid": { - "from": "2014-08-05T15:53:30+00:00", - "to": "3014-08-05T15:53:30+00:00" - }, - "created": "2014-08-05T15:53:30+00:00", - "modified": "2014-08-05T15:53:31+00:00", - "hreflang": "en", - "guid": "c2e536cf-f885-493f-a5f1-34dc87d53943", - "title": "image-2.jpg", - "published": "2014-08-05T15:48:31+00:00", - "byline": "Anonymous" - }, - "links": { - "profile": [ - { - "href": "https://api-sandbox.pmp.io/profiles/image" - } - ], - "alternate": [ - { - "href": "/file/8" - } - ], - "enclosure": [ - { - "href": "http://pmp42dev/sites/default/files/simpletest/171508/image-2.jpg", - "meta": { - "crop": "primary", - "height": 60, - "width": 80 - }, - "type": "image/jpeg" - } - ], - "creator": [ - { - "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" - } - ], - "item": [], - "navigation": [ - { - "href": "https://api-sandbox.pmp.io/docs?guid=c2e536cf-f885-493f-a5f1-34dc87d53943", - "rels": [ - "self" - ] - } - ] - } - } + "type": "image/jpeg" + } + ], + "creator": [ + { + "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" + } + ], + "item": [], + "navigation": [ + { + "href": "https://api-sandbox.pmp.io/docs/5870dde6-e310-49e7-896e-4935f35667d4", + "rels": [ + "self" ] + } + ] + } + }, + { + "version": "1.0", + "href": "https://api-sandbox.pmp.io/docs/29b68f08-f0a7-4425-b70d-570fed4012c7", + "attributes": { + "valid": { + "from": "2014-08-29T01:26:39+00:00", + "to": "3014-08-29T01:26:39+00:00" }, + "created": "2014-08-29T01:26:39+00:00", + "modified": "2014-08-29T01:26:39+00:00", + "hreflang": "en", + "guid": "29b68f08-f0a7-4425-b70d-570fed4012c7", + "title": "PMPAPI Simpletest test: 21:26:34", + "published": "2014-08-29T01:21:24+00:00", + "byline": "cvSHzVOn", + "contentencoded": "i4BDJn9vCY983TPHYA0yhRyoWh6R4dfG" + }, + "links": { + "profile": [ + { + "href": "https://api-sandbox.pmp.io/profiles/story" + } + ], + "alternate": [ + { + "href": "/node/1" + } + ], + "item": [ + { + "href": "https://api-sandbox.pmp.io/docs/2acb0e5b-8626-429b-a3cc-d399621a9c61" + } + ], + "creator": [ + { + "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" + } + ], + "navigation": [ + { + "href": "https://api-sandbox.pmp.io/docs/29b68f08-f0a7-4425-b70d-570fed4012c7", + "rels": [ + "self" + ], + "totalitems": 1, + "totalpages": 1, + "pagenum": 1 + } + ] + }, + "items": [ { - "version": "1.0", - "href": "https://api-sandbox.pmp.io/docs/c2e536cf-f885-493f-a5f1-34dc87d53943", - "attributes": { - "valid": { - "from": "2014-08-05T15:53:30+00:00", - "to": "3014-08-05T15:53:30+00:00" - }, - "created": "2014-08-05T15:53:30+00:00", - "modified": "2014-08-05T15:53:31+00:00", - "hreflang": "en", - "guid": "c2e536cf-f885-493f-a5f1-34dc87d53943", - "title": "image-2.jpg", - "published": "2014-08-05T15:48:31+00:00", - "byline": "Anonymous" + "version": "1.0", + "href": "https://api-sandbox.pmp.io/docs/2acb0e5b-8626-429b-a3cc-d399621a9c61", + "attributes": { + "valid": { + "from": "2014-08-29T01:26:34+00:00", + "to": "3014-08-29T01:26:34+00:00" }, - "links": { - "profile": [ - { - "href": "https://api-sandbox.pmp.io/profiles/image" - } - ], - "alternate": [ - { - "href": "/file/8" - } - ], - "enclosure": [ - { - "href": "http://pmp42dev/sites/default/files/simpletest/171508/image-2.jpg", - "meta": { - "crop": "primary", - "height": 60, - "width": 80 - }, - "type": "image/jpeg" - } - ], - "creator": [ - { - "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" - } - ], - "item": [], - "navigation": [ - { - "href": "https://api-sandbox.pmp.io/docs?guid=c2e536cf-f885-493f-a5f1-34dc87d53943", - "rels": [ - "self" - ] - } - ] - } - }, - { - "version": "1.0", - "href": "https://api-sandbox.pmp.io/docs/46f3e464-7f76-4529-8a69-fd20cb5047a0", - "attributes": { - "valid": { - "from": "2014-08-05T15:58:23+00:00", - "to": "3014-08-05T15:58:23+00:00" + "created": "2014-08-29T01:26:34+00:00", + "modified": "2014-08-29T01:26:34+00:00", + "hreflang": "en", + "guid": "2acb0e5b-8626-429b-a3cc-d399621a9c61", + "title": "image-2.jpg", + "published": "2014-08-29T01:21:24+00:00", + "byline": "Anonymous" + }, + "links": { + "profile": [ + { + "href": "https://api-sandbox.pmp.io/profiles/image" + } + ], + "alternate": [ + { + "href": "/file/8" + } + ], + "enclosure": [ + { + "href": "http://pmp42dev/sites/default/files/simpletest/106744/image-2.jpg", + "meta": { + "crop": "primary", + "height": 60, + "width": 80 }, - "created": "2014-08-05T15:58:23+00:00", - "modified": "2014-08-05T15:58:24+00:00", - "hreflang": "en", - "guid": "46f3e464-7f76-4529-8a69-fd20cb5047a0", - "title": "image-test.jpg", - "published": "2014-08-05T15:48:31+00:00", - "byline": "Anonymous" - }, - "links": { - "profile": [ - { - "href": "https://api-sandbox.pmp.io/profiles/image" - } - ], - "alternate": [ - { - "href": "/file/9" - } - ], - "enclosure": [ - { - "href": "http://pmp42dev/sites/default/files/simpletest/70746/image-test.jpg", - "meta": { - "crop": "primary", - "height": 20, - "width": 40 - }, - "type": "image/jpeg" - } - ], - "creator": [ - { - "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" - } - ], - "item": [], - "navigation": [ - { - "href": "https://api-sandbox.pmp.io/docs?guid=46f3e464-7f76-4529-8a69-fd20cb5047a0", - "rels": [ - "self" - ] - } + "type": "image/jpeg" + } + ], + "creator": [ + { + "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" + } + ], + "item": [], + "navigation": [ + { + "href": "https://api-sandbox.pmp.io/docs/2acb0e5b-8626-429b-a3cc-d399621a9c61", + "rels": [ + "self" ] - } + } + ] + } + } + ] + }, + { + "version": "1.0", + "href": "https://api-sandbox.pmp.io/docs/2acb0e5b-8626-429b-a3cc-d399621a9c61", + "attributes": { + "valid": { + "from": "2014-08-29T01:26:34+00:00", + "to": "3014-08-29T01:26:34+00:00" }, - { - "version": "1.0", - "href": "https://api-sandbox.pmp.io/docs/bb6e5679-c581-4db5-8b17-94365230d7e2", - "attributes": { - "valid": { - "from": "2014-08-05T15:58:26+00:00", - "to": "3014-08-05T15:58:26+00:00" - }, - "created": "2014-08-05T15:58:26+00:00", - "modified": "2014-08-05T15:58:27+00:00", - "hreflang": "en", - "guid": "bb6e5679-c581-4db5-8b17-94365230d7e2", - "title": "PMPAPI Simpletest test: 11:58:24", - "published": "2014-08-05T15:48:31+00:00", - "byline": "vaNZcWxz", - "contentencoded": "b7pgQu6komlhJWKaXNw5CWOqS69qkbXi" + "created": "2014-08-29T01:26:34+00:00", + "modified": "2014-08-29T01:26:34+00:00", + "hreflang": "en", + "guid": "2acb0e5b-8626-429b-a3cc-d399621a9c61", + "title": "image-2.jpg", + "published": "2014-08-29T01:21:24+00:00", + "byline": "Anonymous" + }, + "links": { + "profile": [ + { + "href": "https://api-sandbox.pmp.io/profiles/image" + } + ], + "alternate": [ + { + "href": "/file/8" + } + ], + "enclosure": [ + { + "href": "http://pmp42dev/sites/default/files/simpletest/106744/image-2.jpg", + "meta": { + "crop": "primary", + "height": 60, + "width": 80 }, - "links": { - "profile": [ - { - "href": "https://api-sandbox.pmp.io/profiles/story" - } - ], - "alternate": [ - { - "href": "/node/1" - } - ], - "item": [ - { - "href": "https://api-sandbox.pmp.io/docs/46f3e464-7f76-4529-8a69-fd20cb5047a0" - } - ], - "creator": [ - { - "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" - } - ], - "navigation": [ - { - "href": "https://api-sandbox.pmp.io/docs?guid=bb6e5679-c581-4db5-8b17-94365230d7e2", - "rels": [ - "self" - ], - "totalitems": 1, - "totalpages": 1, - "pagenum": 1 - } - ] - }, - "items": [ - { - "version": "1.0", - "href": "https://api-sandbox.pmp.io/docs/46f3e464-7f76-4529-8a69-fd20cb5047a0", - "attributes": { - "valid": { - "from": "2014-08-05T15:58:23+00:00", - "to": "3014-08-05T15:58:23+00:00" - }, - "created": "2014-08-05T15:58:23+00:00", - "modified": "2014-08-05T15:58:24+00:00", - "hreflang": "en", - "guid": "46f3e464-7f76-4529-8a69-fd20cb5047a0", - "title": "image-test.jpg", - "published": "2014-08-05T15:48:31+00:00", - "byline": "Anonymous" - }, - "links": { - "profile": [ - { - "href": "https://api-sandbox.pmp.io/profiles/image" - } - ], - "alternate": [ - { - "href": "/file/9" - } - ], - "enclosure": [ - { - "href": "http://pmp42dev/sites/default/files/simpletest/70746/image-test.jpg", - "meta": { - "crop": "primary", - "height": 20, - "width": 40 - }, - "type": "image/jpeg" - } - ], - "creator": [ - { - "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" - } - ], - "item": [], - "navigation": [ - { - "href": "https://api-sandbox.pmp.io/docs?guid=46f3e464-7f76-4529-8a69-fd20cb5047a0", - "rels": [ - "self" - ] - } - ] - } - } + "type": "image/jpeg" + } + ], + "creator": [ + { + "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" + } + ], + "item": [], + "navigation": [ + { + "href": "https://api-sandbox.pmp.io/docs/2acb0e5b-8626-429b-a3cc-d399621a9c61", + "rels": [ + "self" ] - } - ] + } + ] + } + }, + { + "version": "1.0", + "href": "https://api-sandbox.pmp.io/docs/0d3f7687-00c4-4df0-bcbb-bfd7c8dbc1c6", + "attributes": { + "valid": { + "from": "2014-08-28T18:17:11+00:00", + "to": "3014-08-28T18:17:11+00:00" + }, + "created": "2014-08-28T18:17:11+00:00", + "modified": "2014-08-28T18:17:11+00:00", + "hreflang": "en", + "guid": "0d3f7687-00c4-4df0-bcbb-bfd7c8dbc1c6", + "title": "NPR One tweaks part8", + "published": "2014-08-28T18:17:09+00:00", + "byline": "root", + "contentencoded": "<p>abc</p>" + }, + "links": { + "profile": [ + { + "href": "https://api-sandbox.pmp.io/profiles/story" + } + ], + "alternate": [ + { + "href": "/post/npr-one-tweaks-part8" + } + ], + "creator": [ + { + "href": "https://api-sandbox.pmp.io/docs/39b744ba-e132-4ef3-9099-885aef0ff2f1" + } + ], + "item": [], + "navigation": [ + { + "href": "https://api-sandbox.pmp.io/docs/0d3f7687-00c4-4df0-bcbb-bfd7c8dbc1c6", + "rels": [ + "self" + ] + } + ] + } + } + ] }