pmp 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,368 +1,342 @@
1
1
  {
2
- "version": "1.0",
3
- "href": "https://api-sandbox.pmp.io/",
4
- "attributes": {
5
- "valid": {
6
- "from": "2013-07-04T04:00:44+00:00",
7
- "to": "3013-07-04T04:00:44+00:00"
8
- },
9
- "created": "2014-07-24T23:02:27+00:00",
10
- "modified": "2014-07-24T23:02:27+00:00",
11
- "guid": "04224975-e93c-4b17-9df9-96db37d318f3",
12
- "title": "PMP Home Document",
13
- "published": "2013-07-04T04:00:44+00:00"
2
+ "version": "1.0",
3
+ "href": "https://api.pmp.io/",
4
+ "attributes": {
5
+ "valid": {
6
+ "from": "2013-07-04T04:00:44+00:00",
7
+ "to": "3013-07-04T04:00:44+00:00"
14
8
  },
15
- "links": {
16
- "bookmark": [
17
- {
18
- "href": "https://api-sandbox.pmp.io/docs/trove",
19
- "rels": [
20
- "urn:pmp:trove"
21
- ]
22
- }
9
+ "created": "2014-09-04T15:06:19+00:00",
10
+ "modified": "2014-09-04T15:06:19+00:00",
11
+ "guid": "04224975-e93c-4b17-9df9-96db37d318f3",
12
+ "title": "PMP Home Document",
13
+ "published": "2013-07-04T04:00:44+00:00"
14
+ },
15
+ "links": {
16
+ "bookmark": [
17
+ {
18
+ "href": "https://api.pmp.io/docs/trove",
19
+ "rels": [
20
+ "urn:pmp:trove"
21
+ ]
22
+ }
23
+ ],
24
+ "creator": [
25
+ {
26
+ "href": "https://api.pmp.io/docs/af676335-21df-4486-ab43-e88c1b48f026"
27
+ }
28
+ ],
29
+ "item": [],
30
+ "navigation": [
31
+ {
32
+ "href": "https://api.pmp.io/docs?guid=04224975-e93c-4b17-9df9-96db37d318f3",
33
+ "rels": [
34
+ "self"
35
+ ]
36
+ }
37
+ ],
38
+ "query": [
39
+ {
40
+ "href-template": "https://api.pmp.io/docs/{guid}{?limit,offset}",
41
+ "title": "Access documents",
42
+ "rels": [
43
+ "urn:collectiondoc:hreftpl:docs"
23
44
  ],
24
- "creator": [
25
- {
26
- "href": "https://api-sandbox.pmp.io/docs/af676335-21df-4486-ab43-e88c1b48f026"
27
- }
45
+ "href-vars": {
46
+ "limit": "http://docs.pmp.io/wiki/Querying-the-API#limit",
47
+ "offset": "http://docs.pmp.io/wiki/Querying-the-API#offset",
48
+ "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents"
49
+ },
50
+ "hints": {
51
+ "allow": [
52
+ "GET"
53
+ ]
54
+ }
55
+ },
56
+ {
57
+ "href-template": "https://api.pmp.io/profiles/{guid}",
58
+ "title": "Access profiles",
59
+ "rels": [
60
+ "urn:collectiondoc:hreftpl:profiles"
28
61
  ],
29
- "item": [],
30
- "navigation": [
31
- {
32
- "href": "https://api-sandbox.pmp.io/docs?guid=04224975-e93c-4b17-9df9-96db37d318f3",
33
- "rels": [
34
- "self"
35
- ]
36
- }
62
+ "href-vars": {
63
+ "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents"
64
+ },
65
+ "hints": {
66
+ "allow": [
67
+ "GET"
68
+ ]
69
+ }
70
+ },
71
+ {
72
+ "href-template": "https://api.pmp.io/schemas/{guid}",
73
+ "title": "Access schemas",
74
+ "rels": [
75
+ "urn:collectiondoc:hreftpl:schemas"
37
76
  ],
38
- "query": [
39
- {
40
- "href-template": "https://api-sandbox.pmp.io/docs{/guid}{?limit,offset}",
41
- "title": "Access documents",
42
- "rels": [
43
- "urn:collectiondoc:hreftpl:docs"
44
- ],
45
- "href-vars": {
46
- "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents",
47
- "limit": "http://docs.pmp.io/wiki/Content-Retrieval#limit",
48
- "offset": "http://docs.pmp.io/wiki/Content-Retrieval#offset"
49
- },
50
- "hints": {
51
- "allow": [
52
- "GET"
53
- ]
54
- }
55
- },
56
- {
57
- "href-template": "https://api-sandbox.pmp.io/docs{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,language,profile,collection,has,distributor,distributorgroup,author,text}",
58
- "title": "Query for documents",
59
- "rels": [
60
- "urn:collectiondoc:query:docs"
61
- ],
62
- "href-vars": {
63
- "guid": "http://docs.pmp.io/wiki/Content-Retrieval#guid",
64
- "limit": "http://docs.pmp.io/wiki/Content-Retrieval#limit",
65
- "offset": "http://docs.pmp.io/wiki/Content-Retrieval#offset",
66
- "searchsort": "http://docs.pmp.io/wiki/Content-Retrieval#searchsort",
67
- "startdate": "http://docs.pmp.io/wiki/Content-Retrieval#startdate",
68
- "enddate": "http://docs.pmp.io/wiki/Content-Retrieval#enddate",
69
- "writeable": "http://docs.pmp.io/wiki/Content-Retrieval#writeable",
70
- "tag": "http://docs.pmp.io/wiki/Content-Retrieval#tag",
71
- "language": "http://docs.pmp.io/wiki/Content-Retrieval#language",
72
- "profile": "http://docs.pmp.io/wiki/Content-Retrieval#profile",
73
- "collection": "http://docs.pmp.io/wiki/Content-Retrieval#collection",
74
- "has": "http://docs.pmp.io/wiki/Content-Retrieval#has",
75
- "distributor": "http://docs.pmp.io/wiki/Content-Retrieval#distributor",
76
- "distributorgroup": "http://docs.pmp.io/wiki/Content-Retrieval#distributorgroup",
77
- "author": "http://docs.pmp.io/wiki/Content-Retrieval#author",
78
- "text": "http://docs.pmp.io/wiki/Content-Retrieval#text"
79
- },
80
- "hints": {
81
- "allow": [
82
- "GET"
83
- ]
84
- }
85
- },
86
- {
87
- "href-template": "https://api-sandbox.pmp.io/profiles{/guid}",
88
- "title": "Access profiles",
89
- "rels": [
90
- "urn:collectiondoc:hreftpl:profiles"
91
- ],
92
- "href-vars": {
93
- "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents"
94
- },
95
- "hints": {
96
- "allow": [
97
- "GET"
98
- ]
99
- }
100
- },
101
- {
102
- "href-template": "https://api-sandbox.pmp.io/profiles{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,collection,text}",
103
- "title": "Query for profiles",
104
- "rels": [
105
- "urn:collectiondoc:query:profiles"
106
- ],
107
- "href-vars": {
108
- "guid": "http://docs.pmp.io/wiki/Content-Retrieval#guid",
109
- "limit": "http://docs.pmp.io/wiki/Content-Retrieval#limit",
110
- "offset": "http://docs.pmp.io/wiki/Content-Retrieval#offset",
111
- "searchsort": "http://docs.pmp.io/wiki/Content-Retrieval#searchsort",
112
- "startdate": "http://docs.pmp.io/wiki/Content-Retrieval#startdate",
113
- "enddate": "http://docs.pmp.io/wiki/Content-Retrieval#enddate",
114
- "writeable": "http://docs.pmp.io/wiki/Content-Retrieval#writeable",
115
- "tag": "http://docs.pmp.io/wiki/Content-Retrieval#tag",
116
- "collection": "http://docs.pmp.io/wiki/Content-Retrieval#collection",
117
- "text": "http://docs.pmp.io/wiki/Content-Retrieval#text"
118
- },
119
- "hints": {
120
- "allow": [
121
- "GET"
122
- ]
123
- }
124
- },
125
- {
126
- "href-template": "https://api-sandbox.pmp.io/schemas{/guid}",
127
- "title": "Access schemas",
128
- "rels": [
129
- "urn:collectiondoc:hreftpl:schemas"
130
- ],
131
- "href-vars": {
132
- "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents"
133
- },
134
- "hints": {
135
- "allow": [
136
- "GET"
137
- ]
138
- }
139
- },
140
- {
141
- "href-template": "https://api-sandbox.pmp.io/schemas{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,collection,text}",
142
- "title": "Query for schemas",
143
- "rels": [
144
- "urn:collectiondoc:query:schemas"
145
- ],
146
- "href-vars": {
147
- "guid": "http://docs.pmp.io/wiki/Content-Retrieval#guid",
148
- "limit": "http://docs.pmp.io/wiki/Content-Retrieval#limit",
149
- "offset": "http://docs.pmp.io/wiki/Content-Retrieval#offset",
150
- "searchsort": "http://docs.pmp.io/wiki/Content-Retrieval#searchsort",
151
- "startdate": "http://docs.pmp.io/wiki/Content-Retrieval#startdate",
152
- "enddate": "http://docs.pmp.io/wiki/Content-Retrieval#enddate",
153
- "writeable": "http://docs.pmp.io/wiki/Content-Retrieval#writeable",
154
- "tag": "http://docs.pmp.io/wiki/Content-Retrieval#tag",
155
- "collection": "http://docs.pmp.io/wiki/Content-Retrieval#collection",
156
- "text": "http://docs.pmp.io/wiki/Content-Retrieval#text"
157
- },
158
- "hints": {
159
- "allow": [
160
- "GET"
161
- ]
162
- }
163
- },
164
- {
165
- "href-template": "https://api-sandbox.pmp.io/users{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,collection,text}",
166
- "title": "Query for users",
167
- "rels": [
168
- "urn:collectiondoc:query:users"
169
- ],
170
- "href-vars": {
171
- "guid": "http://docs.pmp.io/wiki/Content-Retrieval#guid",
172
- "limit": "http://docs.pmp.io/wiki/Content-Retrieval#limit",
173
- "offset": "http://docs.pmp.io/wiki/Content-Retrieval#offset",
174
- "searchsort": "http://docs.pmp.io/wiki/Content-Retrieval#searchsort",
175
- "startdate": "http://docs.pmp.io/wiki/Content-Retrieval#startdate",
176
- "enddate": "http://docs.pmp.io/wiki/Content-Retrieval#enddate",
177
- "writeable": "http://docs.pmp.io/wiki/Content-Retrieval#writeable",
178
- "tag": "http://docs.pmp.io/wiki/Content-Retrieval#tag",
179
- "collection": "http://docs.pmp.io/wiki/Content-Retrieval#collection",
180
- "text": "http://docs.pmp.io/wiki/Content-Retrieval#text"
181
- },
182
- "hints": {
183
- "allow": [
184
- "GET"
185
- ]
186
- }
187
- },
188
- {
189
- "href-template": "https://api-sandbox.pmp.io/groups{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,collection,has,text}",
190
- "title": "Query for groups",
191
- "rels": [
192
- "urn:collectiondoc:query:groups"
193
- ],
194
- "href-vars": {
195
- "guid": "http://docs.pmp.io/wiki/Content-Retrieval#guid",
196
- "limit": "http://docs.pmp.io/wiki/Content-Retrieval#limit",
197
- "offset": "http://docs.pmp.io/wiki/Content-Retrieval#offset",
198
- "searchsort": "http://docs.pmp.io/wiki/Content-Retrieval#searchsort",
199
- "startdate": "http://docs.pmp.io/wiki/Content-Retrieval#startdate",
200
- "enddate": "http://docs.pmp.io/wiki/Content-Retrieval#enddate",
201
- "writeable": "http://docs.pmp.io/wiki/Content-Retrieval#writeable",
202
- "tag": "http://docs.pmp.io/wiki/Content-Retrieval#tag",
203
- "collection": "http://docs.pmp.io/wiki/Content-Retrieval#collection",
204
- "has": "http://docs.pmp.io/wiki/Content-Retrieval#has",
205
- "text": "http://docs.pmp.io/wiki/Content-Retrieval#text"
206
- },
207
- "hints": {
208
- "allow": [
209
- "GET"
210
- ]
211
- }
212
- },
213
- {
214
- "href": "https://api-sandbox.pmp.io/guids",
215
- "title": "Generate guids",
216
- "rels": [
217
- "urn:collectiondoc:query:guids"
218
- ],
219
- "hints": {
220
- "allow": [
221
- "POST"
222
- ],
223
- "accept-post": [
224
- "application/x-www-form-urlencoded"
225
- ]
226
- },
227
- "type": "application/json"
228
- }
77
+ "href-vars": {
78
+ "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents"
79
+ },
80
+ "hints": {
81
+ "allow": [
82
+ "GET"
83
+ ]
84
+ }
85
+ },
86
+ {
87
+ "href-template": "https://api.pmp.io/docs{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,language,profile,collection,has,distributor,distributorgroup,author,text}",
88
+ "title": "Query for documents",
89
+ "rels": [
90
+ "urn:collectiondoc:query:docs"
229
91
  ],
230
- "edit": [
231
- {
232
- "href-template": "https://publish-sandbox.pmp.io/docs{/guid}",
233
- "title": "Document Save",
234
- "rels": [
235
- "urn:collectiondoc:form:documentsave"
236
- ],
237
- "href-vars": {
238
- "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents"
239
- },
240
- "hints": {
241
- "formats": [
242
- "application/vnd.collection.doc+json"
243
- ],
244
- "allow": [
245
- "PUT",
246
- "DELETE"
247
- ],
248
- "docs": "http://docs.pmp.io/wiki/Collection.doc-JSON-Media-Type"
249
- }
250
- },
251
- {
252
- "href-template": "https://publish-sandbox.pmp.io/profiles{/guid}",
253
- "title": "Profile Save",
254
- "rels": [
255
- "urn:collectiondoc:form:profilesave"
256
- ],
257
- "href-vars": {
258
- "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents"
259
- },
260
- "hints": {
261
- "formats": [
262
- "application/vnd.collection.doc+json"
263
- ],
264
- "allow": [
265
- "PUT",
266
- "DELETE"
267
- ],
268
- "docs": "http://docs.pmp.io/wiki/Profile-profile"
269
- }
270
- },
271
- {
272
- "href-template": "https://publish-sandbox.pmp.io/schemas{/guid}",
273
- "title": "Schema Save",
274
- "rels": [
275
- "urn:collectiondoc:form:schemasave"
276
- ],
277
- "href-vars": {
278
- "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents"
279
- },
280
- "hints": {
281
- "formats": [
282
- "application/vnd.collection.doc+json"
283
- ],
284
- "allow": [
285
- "PUT",
286
- "DELETE"
287
- ],
288
- "docs": "http://docs.pmp.io/wiki/Schema-profile"
289
- }
290
- },
291
- {
292
- "href": "https://publish-sandbox.pmp.io/files",
293
- "title": "Upload a rich media file",
294
- "rels": [
295
- "urn:collectiondoc:form:mediaupload"
296
- ],
297
- "href-vars": {
298
- "submission": "http://docs.pmp.io/wiki/Media-File-Upload"
299
- },
300
- "hints": {
301
- "allow": [
302
- "POST"
303
- ],
304
- "accept-post": [
305
- "multipart/form-data"
306
- ]
307
- }
308
- }
92
+ "href-vars": {
93
+ "guid": "http://docs.pmp.io/wiki/Querying-the-API#guid",
94
+ "limit": "http://docs.pmp.io/wiki/Querying-the-API#limit",
95
+ "offset": "http://docs.pmp.io/wiki/Querying-the-API#offset",
96
+ "searchsort": "http://docs.pmp.io/wiki/Querying-the-API#searchsort",
97
+ "startdate": "http://docs.pmp.io/wiki/Querying-the-API#startdate",
98
+ "enddate": "http://docs.pmp.io/wiki/Querying-the-API#enddate",
99
+ "writeable": "http://docs.pmp.io/wiki/Querying-the-API#writeable",
100
+ "tag": "http://docs.pmp.io/wiki/Querying-the-API#tag",
101
+ "language": "http://docs.pmp.io/wiki/Querying-the-API#language",
102
+ "profile": "http://docs.pmp.io/wiki/Querying-the-API#profile",
103
+ "collection": "http://docs.pmp.io/wiki/Querying-the-API#collection",
104
+ "has": "http://docs.pmp.io/wiki/Querying-the-API#has",
105
+ "distributor": "http://docs.pmp.io/wiki/Querying-the-API#distributor",
106
+ "distributorgroup": "http://docs.pmp.io/wiki/Querying-the-API#distributorgroup",
107
+ "author": "http://docs.pmp.io/wiki/Querying-the-API#author",
108
+ "text": "http://docs.pmp.io/wiki/Querying-the-API#text"
109
+ },
110
+ "hints": {
111
+ "allow": [
112
+ "GET"
113
+ ]
114
+ }
115
+ },
116
+ {
117
+ "href-template": "https://api.pmp.io/profiles{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,collection,text}",
118
+ "title": "Query for profiles",
119
+ "rels": [
120
+ "urn:collectiondoc:query:profiles"
309
121
  ],
310
- "auth": [
311
- {
312
- "href": "https://publish-sandbox.pmp.io/auth/credentials",
313
- "title": "Create OAuth2 Credentials",
314
- "rels": [
315
- "urn:collectiondoc:form:createcredentials"
316
- ],
317
- "hints": {
318
- "allow": [
319
- "POST"
320
- ],
321
- "docs": "http://docs.pmp.io/wiki/Authenticating-with-the-API#generating-credentials"
322
- }
323
- },
324
- {
325
- "href-template": "https://publish-sandbox.pmp.io/auth/credentials/{client_id}",
326
- "title": "Remove OAuth2 Credentials",
327
- "rels": [
328
- "urn:collectiondoc:form:removecredentials"
329
- ],
330
- "hints": {
331
- "allow": [
332
- "DELETE"
333
- ],
334
- "docs": "http://docs.pmp.io/wiki/Authenticating-with-the-API#removing-a-credential"
335
- }
336
- },
337
- {
338
- "href": "https://api-sandbox.pmp.io/auth/access_token",
339
- "title": "Issue OAuth2 Token",
340
- "rels": [
341
- "urn:collectiondoc:form:issuetoken"
342
- ],
343
- "hints": {
344
- "allow": [
345
- "POST"
346
- ],
347
- "accept-post": [
348
- "application/x-www-form-urlencoded"
349
- ],
350
- "docs": "http://docs.pmp.io/wiki/Authentication-Model#token-management"
351
- }
352
- },
353
- {
354
- "href": "https://publish-sandbox.pmp.io/auth/access_token",
355
- "title": "Revoke OAuth2 Token",
356
- "rels": [
357
- "urn:collectiondoc:form:revoketoken"
358
- ],
359
- "hints": {
360
- "allow": [
361
- "DELETE"
362
- ],
363
- "docs": "http://docs.pmp.io/wiki/Authentication-Model#revoke-a-token"
364
- }
365
- }
366
- ]
367
- }
122
+ "href-vars": {
123
+ "guid": "http://docs.pmp.io/wiki/Querying-the-API#guid",
124
+ "limit": "http://docs.pmp.io/wiki/Querying-the-API#limit",
125
+ "offset": "http://docs.pmp.io/wiki/Querying-the-API#offset",
126
+ "searchsort": "http://docs.pmp.io/wiki/Querying-the-API#searchsort",
127
+ "startdate": "http://docs.pmp.io/wiki/Querying-the-API#startdate",
128
+ "enddate": "http://docs.pmp.io/wiki/Querying-the-API#enddate",
129
+ "writeable": "http://docs.pmp.io/wiki/Querying-the-API#writeable",
130
+ "tag": "http://docs.pmp.io/wiki/Querying-the-API#tag",
131
+ "collection": "http://docs.pmp.io/wiki/Querying-the-API#collection",
132
+ "text": "http://docs.pmp.io/wiki/Querying-the-API#text"
133
+ },
134
+ "hints": {
135
+ "allow": [
136
+ "GET"
137
+ ]
138
+ }
139
+ },
140
+ {
141
+ "href-template": "https://api.pmp.io/schemas{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,collection,text}",
142
+ "title": "Query for schemas",
143
+ "rels": [
144
+ "urn:collectiondoc:query:schemas"
145
+ ],
146
+ "href-vars": {
147
+ "guid": "http://docs.pmp.io/wiki/Querying-the-API#guid",
148
+ "limit": "http://docs.pmp.io/wiki/Querying-the-API#limit",
149
+ "offset": "http://docs.pmp.io/wiki/Querying-the-API#offset",
150
+ "searchsort": "http://docs.pmp.io/wiki/Querying-the-API#searchsort",
151
+ "startdate": "http://docs.pmp.io/wiki/Querying-the-API#startdate",
152
+ "enddate": "http://docs.pmp.io/wiki/Querying-the-API#enddate",
153
+ "writeable": "http://docs.pmp.io/wiki/Querying-the-API#writeable",
154
+ "tag": "http://docs.pmp.io/wiki/Querying-the-API#tag",
155
+ "collection": "http://docs.pmp.io/wiki/Querying-the-API#collection",
156
+ "text": "http://docs.pmp.io/wiki/Querying-the-API#text"
157
+ },
158
+ "hints": {
159
+ "allow": [
160
+ "GET"
161
+ ]
162
+ }
163
+ },
164
+ {
165
+ "href-template": "https://api.pmp.io/users{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,collection,text}",
166
+ "title": "Query for users",
167
+ "rels": [
168
+ "urn:collectiondoc:query:users"
169
+ ],
170
+ "href-vars": {
171
+ "guid": "http://docs.pmp.io/wiki/Querying-the-API#guid",
172
+ "limit": "http://docs.pmp.io/wiki/Querying-the-API#limit",
173
+ "offset": "http://docs.pmp.io/wiki/Querying-the-API#offset",
174
+ "searchsort": "http://docs.pmp.io/wiki/Querying-the-API#searchsort",
175
+ "startdate": "http://docs.pmp.io/wiki/Querying-the-API#startdate",
176
+ "enddate": "http://docs.pmp.io/wiki/Querying-the-API#enddate",
177
+ "writeable": "http://docs.pmp.io/wiki/Querying-the-API#writeable",
178
+ "tag": "http://docs.pmp.io/wiki/Querying-the-API#tag",
179
+ "collection": "http://docs.pmp.io/wiki/Querying-the-API#collection",
180
+ "text": "http://docs.pmp.io/wiki/Querying-the-API#text"
181
+ },
182
+ "hints": {
183
+ "allow": [
184
+ "GET"
185
+ ]
186
+ }
187
+ },
188
+ {
189
+ "href-template": "https://api.pmp.io/groups{?guid,limit,offset,searchsort,startdate,enddate,writeable,tag,collection,has,text}",
190
+ "title": "Query for groups",
191
+ "rels": [
192
+ "urn:collectiondoc:query:groups"
193
+ ],
194
+ "href-vars": {
195
+ "guid": "http://docs.pmp.io/wiki/Querying-the-API#guid",
196
+ "limit": "http://docs.pmp.io/wiki/Querying-the-API#limit",
197
+ "offset": "http://docs.pmp.io/wiki/Querying-the-API#offset",
198
+ "searchsort": "http://docs.pmp.io/wiki/Querying-the-API#searchsort",
199
+ "startdate": "http://docs.pmp.io/wiki/Querying-the-API#startdate",
200
+ "enddate": "http://docs.pmp.io/wiki/Querying-the-API#enddate",
201
+ "writeable": "http://docs.pmp.io/wiki/Querying-the-API#writeable",
202
+ "tag": "http://docs.pmp.io/wiki/Querying-the-API#tag",
203
+ "collection": "http://docs.pmp.io/wiki/Querying-the-API#collection",
204
+ "has": "http://docs.pmp.io/wiki/Querying-the-API#has",
205
+ "text": "http://docs.pmp.io/wiki/Querying-the-API#text"
206
+ },
207
+ "hints": {
208
+ "allow": [
209
+ "GET"
210
+ ]
211
+ }
212
+ }
213
+ ],
214
+ "edit": [
215
+ {
216
+ "href-template": "https://publish.pmp.io/docs/{guid}",
217
+ "title": "Document Save",
218
+ "rels": [
219
+ "urn:collectiondoc:form:documentsave"
220
+ ],
221
+ "href-vars": {
222
+ "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents"
223
+ },
224
+ "hints": {
225
+ "formats": [
226
+ "application/vnd.collection.doc+json"
227
+ ],
228
+ "allow": [
229
+ "PUT"
230
+ ],
231
+ "docs": "http://docs.pmp.io/wiki/Collection.doc-JSON-Media-Type"
232
+ }
233
+ },
234
+ {
235
+ "href-template": "https://publish.pmp.io/docs/{guid}",
236
+ "title": "Document Delete",
237
+ "rels": [
238
+ "urn:collectiondoc:form:documentdelete"
239
+ ],
240
+ "href-vars": {
241
+ "guid": "http://docs.pmp.io/wiki/Globaly-Unique-Identifiers-for-PMP-Documents"
242
+ },
243
+ "hints": {
244
+ "allow": [
245
+ "DELETE"
246
+ ]
247
+ }
248
+ },
249
+ {
250
+ "href": "https://publish.pmp.io/files",
251
+ "title": "Upload a rich media file",
252
+ "rels": [
253
+ "urn:collectiondoc:form:mediaupload"
254
+ ],
255
+ "href-vars": {
256
+ "submission": "http://docs.pmp.io/wiki/Media-File-Upload"
257
+ },
258
+ "hints": {
259
+ "allow": [
260
+ "POST"
261
+ ],
262
+ "accept-post": [
263
+ "multipart/form-data"
264
+ ]
265
+ }
266
+ }
267
+ ],
268
+ "auth": [
269
+ {
270
+ "href": "https://api.pmp.io/auth/credentials",
271
+ "title": "List OAuth2 Credentials",
272
+ "rels": [
273
+ "urn:collectiondoc:form:listcredentials"
274
+ ],
275
+ "hints": {
276
+ "allow": [
277
+ "GET"
278
+ ],
279
+ "docs": "http://docs.pmp.io/wiki/Authenticating-with-the-API#testing-access"
280
+ }
281
+ },
282
+ {
283
+ "href": "https://publish.pmp.io/auth/credentials",
284
+ "title": "Create OAuth2 Credentials",
285
+ "rels": [
286
+ "urn:collectiondoc:form:createcredentials"
287
+ ],
288
+ "hints": {
289
+ "allow": [
290
+ "POST"
291
+ ],
292
+ "accept-post": [
293
+ "application/x-www-form-urlencoded"
294
+ ],
295
+ "docs": "http://docs.pmp.io/wiki/Authenticating-with-the-API#generating-credentials"
296
+ }
297
+ },
298
+ {
299
+ "href-template": "https://publish.pmp.io/auth/credentials/{client_id}",
300
+ "title": "Remove OAuth2 Credentials",
301
+ "rels": [
302
+ "urn:collectiondoc:form:removecredentials"
303
+ ],
304
+ "hints": {
305
+ "allow": [
306
+ "DELETE"
307
+ ],
308
+ "docs": "http://docs.pmp.io/wiki/Authenticating-with-the-API#removing-a-credential"
309
+ }
310
+ },
311
+ {
312
+ "href": "https://api.pmp.io/auth/access_token",
313
+ "title": "Issue OAuth2 Token",
314
+ "rels": [
315
+ "urn:collectiondoc:form:issuetoken"
316
+ ],
317
+ "hints": {
318
+ "allow": [
319
+ "POST"
320
+ ],
321
+ "accept-post": [
322
+ "application/x-www-form-urlencoded"
323
+ ],
324
+ "docs": "http://docs.pmp.io/wiki/Authentication-Model#token-management"
325
+ }
326
+ },
327
+ {
328
+ "href": "https://publish.pmp.io/auth/access_token",
329
+ "title": "Revoke OAuth2 Token",
330
+ "rels": [
331
+ "urn:collectiondoc:form:revoketoken"
332
+ ],
333
+ "hints": {
334
+ "allow": [
335
+ "DELETE"
336
+ ],
337
+ "docs": "http://docs.pmp.io/wiki/Authentication-Model#revoke-a-token"
338
+ }
339
+ }
340
+ ]
341
+ }
368
342
  }