cts-mpx 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +50 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +88 -0
  5. data/CONTRIBUTING +8 -0
  6. data/COPYRIGHT +10 -0
  7. data/EXAMPLES.md +81 -0
  8. data/Gemfile +4 -0
  9. data/Gemfile.lock +172 -0
  10. data/Guardfile +41 -0
  11. data/LICENSE +201 -0
  12. data/NOTICE +9 -0
  13. data/README.md +60 -0
  14. data/Rakefile +6 -0
  15. data/bin/console +14 -0
  16. data/bin/setup +8 -0
  17. data/config/data_services.json +423 -0
  18. data/config/ingest_services.json +14 -0
  19. data/config/root_registry_sea1.json +118 -0
  20. data/config/web_services.json +544 -0
  21. data/cts-mpx.gemspec +43 -0
  22. data/examples/basic_query.rb +23 -0
  23. data/examples/login.rb +7 -0
  24. data/examples/update_media.rb +16 -0
  25. data/examples/update_procedurally.rb +20 -0
  26. data/lib/cts/mpx.rb +42 -0
  27. data/lib/cts/mpx/driver.rb +47 -0
  28. data/lib/cts/mpx/driver/assemblers.rb +96 -0
  29. data/lib/cts/mpx/driver/connections.rb +41 -0
  30. data/lib/cts/mpx/driver/exceptions.rb +50 -0
  31. data/lib/cts/mpx/driver/helpers.rb +67 -0
  32. data/lib/cts/mpx/driver/page.rb +38 -0
  33. data/lib/cts/mpx/driver/request.rb +60 -0
  34. data/lib/cts/mpx/driver/response.rb +72 -0
  35. data/lib/cts/mpx/entries.rb +80 -0
  36. data/lib/cts/mpx/entry.rb +100 -0
  37. data/lib/cts/mpx/field.rb +38 -0
  38. data/lib/cts/mpx/fields.rb +120 -0
  39. data/lib/cts/mpx/query.rb +115 -0
  40. data/lib/cts/mpx/registry.rb +60 -0
  41. data/lib/cts/mpx/service.rb +70 -0
  42. data/lib/cts/mpx/services.rb +113 -0
  43. data/lib/cts/mpx/services/data.rb +124 -0
  44. data/lib/cts/mpx/services/ingest.rb +60 -0
  45. data/lib/cts/mpx/services/web.rb +90 -0
  46. data/lib/cts/mpx/user.rb +74 -0
  47. data/lib/cts/mpx/validators.rb +51 -0
  48. data/lib/cts/mpx/version.rb +6 -0
  49. data/sdk-ring-diagram.png +0 -0
  50. data/sdk-uml.png +0 -0
  51. data/uml.nomnoml +242 -0
  52. metadata +401 -0
@@ -0,0 +1,14 @@
1
+ {
2
+ "Ingest Service": {
3
+ "path": "ingest",
4
+ "form": "json",
5
+ "endpoints": {
6
+ "Publish": {
7
+ "schema": "1.5.0"
8
+ },
9
+ "Test": {
10
+ "schema": "1.5.0"
11
+ }
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,118 @@
1
+ {
2
+ "resolveDomainResponse": {
3
+ "Message Data Service": "http://data.message.theplatform.com/message",
4
+ "User Data Service": "https://identity.auth.theplatform.com/idm",
5
+ "Publish Data Service read-only": "http://data.publish.theplatform.com/publish",
6
+ "Commerce End User Notification Service": "https://euns.commerce.theplatform.com/euns",
7
+ "Console Data Service": "http://data.mpx.theplatform.com/cds",
8
+ "Selector Service": "http://link.theplatform.com/s",
9
+ "Ingest Data Service": "http://adapter.ingest.theplatform.com/adapter",
10
+ "FeedReader Data Service read-only": "https://feedreader.ingest.theplatform.com/feedreader",
11
+ "Conviva Insights": "https://viewerinsights.theplatform.com/sso/thePlatform?url={account}&endpoint=Basic&token={token}",
12
+ "Ingest Service": "http://ingest.theplatform.com",
13
+ "ACS Data Service read-only": "http://data.acs.euid.theplatform.com/acsdata",
14
+ "Storefront Service": "https://storefront.commerce.theplatform.com/storefront",
15
+ "FeedReader Data Service": "https://feedreader.ingest.theplatform.com/feedreader",
16
+ "Sharing Data Service": "http://data.share.theplatform.com/sharing",
17
+ "TV Listing Data Service read-only": "http://read.data.listing.tv.theplatform.com/listing",
18
+ "Static Web Files": "http://web.theplatform.com",
19
+ "Publish Service": "http://publish.theplatform.com",
20
+ "Selector Reporting Service": "http://release.theplatform.com",
21
+ "Entertainment Feeds Service": "http://feed.entertainment.tv.theplatform.com/f",
22
+ "User Profile Metadata Service": "http://userprofiles.community.theplatform.com/userprofile",
23
+ "WatchFolder Data Service": "https://watchfolder.ingest.theplatform.com/wf",
24
+ "Task Service": "http://data.task.theplatform.com/task",
25
+ "Cue Point Data Service read-only": "http://data.cuepoint.theplatform.com/cuepoint",
26
+ "Validation Data Service": "http://data.validation.theplatform.com/validation",
27
+ "Order Data Service read-only": "https://read.order.commerce.theplatform.com/order",
28
+ "Entertainment Ingest Data Service": "http://data.ingest.tv.theplatform.com/ingest",
29
+ "Order Item Data Service read-only": "http://order.commerce.theplatform.com/order",
30
+ "Entitlement License Service": "http://entitlement.theplatform.com/license",
31
+ "Entitlement Web Service": "http://entitlement.theplatform.com/ent",
32
+ "Access Data Service read-only": "http://access.auth.theplatform.com",
33
+ "Selector Reporting Service read-only": "http://mps.theplatform.com",
34
+ "Publish Data Service": "http://data.publish.theplatform.com/publish",
35
+ "User Data Service master": "https://identity.auth.theplatform.com/idm",
36
+ "Alternate Content Data Service": "https://data.altcontent.tv.theplatform.com/altcontent",
37
+ "Validation Service": "http://validation.theplatform.com/validation",
38
+ "Selector Web Service": "http://link.theplatform.com",
39
+ "Promotion Service": "https://promotion.commerce.theplatform.com/promotion",
40
+ "Feeds Data Service read-only": "http://read.data.feed.theplatform.com/feed",
41
+ "Player Service": "http://player.theplatform.com",
42
+ "Workflow Data Service": "http://data.workflow.theplatform.com/workflow",
43
+ "Delivery Data Service": "http://data.delivery.theplatform.com/delivery",
44
+ "Key Data Service read-only": "https://data.key.entitlement.theplatform.com/key",
45
+ "TV Listing Data Service": "http://data.listing.tv.theplatform.com/listing",
46
+ "Address Service": "https://address.commerce.theplatform.com/address",
47
+ "Commerce Event Data Service": "https://data.event.commerce.theplatform.com/event",
48
+ "End User Data Service read-only": "https://euid.theplatform.com/idm",
49
+ "Access Data Service": "http://access.auth.theplatform.com",
50
+ "Ledger Data Service read-only": "https://ledger.commerce.theplatform.com/ledger",
51
+ "Product Feeds Service": "http://feed.product.theplatform.com/f",
52
+ "Message Data Service read-only": "http://data.message.theplatform.com/message",
53
+ "Live Event Data Service": "http://data.liveevent.theplatform.com/liveevent",
54
+ "Media Data Service read-only": "http://read.data.media.theplatform.com/media",
55
+ "Player Data Service": "http://data.player.theplatform.com/player",
56
+ "Entitlement Data Service read-only": "http://data.entitlement.theplatform.com/eds",
57
+ "Payment Data Service read-only": "https://payment.commerce.theplatform.com/payment",
58
+ "Validation Data Service read-only": "http://data.validation.theplatform.com/validation",
59
+ "Address Service read-only": "https://address.commerce.theplatform.com/address",
60
+ "Console Data Service read-only": "http://data.mpx.theplatform.com/cds",
61
+ "Ingest Data Service read-only": "http://adapter.ingest.theplatform.com/adapter",
62
+ "Player Data Service read-only": "http://read.data.player.theplatform.com/player",
63
+ "Promotion Data Service": "https://promotion.commerce.theplatform.com/promotion",
64
+ "comScore Digital Analytix": "http://comscore.theplatform.com?token={token}&account={account}&display=account",
65
+ "Sharing Data Service read-only": "http://data.share.theplatform.com/sharing",
66
+ "WatchFolder Data Service read-only": "https://watchfolder.ingest.theplatform.com/wf",
67
+ "Admin Storefront Service": "https://admin.storefront.commerce.theplatform.com/storefront",
68
+ "Commerce Configuration Data Service": "https://data.configuration.commerce.theplatform.com/configuration",
69
+ "Commerce Configuration Data Service read-only": "https://read.data.configuration.commerce.theplatform.com/configuration",
70
+ "PDK 6": "https://pdk.theplatform.com/pdk6",
71
+ "Stub Ingest Service": "http://ingest-stub.ingest.theplatform.com/service/ingest/mps",
72
+ "Entertainment Ingest Data Service read-only": "http://data.ingest.tv.theplatform.com/ingest",
73
+ "Commerce Event Data Service read-only": "https://data.event.commerce.theplatform.com/event",
74
+ "Key Data Service": "https://data.key.entitlement.theplatform.com/key",
75
+ "User Profile Data Service read-only": "http://data.userprofile.community.theplatform.com/userprofile",
76
+ "Order Item Data Service": "http://order.commerce.theplatform.com/order",
77
+ "Concurrency Service": "https://concurrency.delivery.theplatform.com/concurrency",
78
+ "Delivery Data Service read-only": "http://data.delivery.theplatform.com/delivery",
79
+ "Task Service read-only": "http://data.task.theplatform.com/task",
80
+ "Checkout Service": "https://checkout.commerce.theplatform.com/checkout",
81
+ "Fulfillment Service": "https://fulfillment.commerce.theplatform.com/fulfillment",
82
+ "Payment Service": "https://payment.commerce.theplatform.com/payment",
83
+ "Sales Tax Service": "https://tax.commerce.theplatform.com/tax",
84
+ "Access Data Service audience": "http://enduser.access.auth.theplatform.com",
85
+ "Promotion Data Service read-only": "https://promotion.commerce.theplatform.com/promotion",
86
+ "Account Data Service read-only": "http://mps.theplatform.com",
87
+ "End User Data Service": "https://euid.theplatform.com/idm",
88
+ "Feeds Data Service": "http://data.feed.theplatform.com/feed",
89
+ "Product Data Service": "http://data.product.theplatform.com/product",
90
+ "PDK": "https://pdk.theplatform.com",
91
+ "User Data Service read-only": "https://identity.auth.theplatform.com/idm",
92
+ "User Profile Data Service": "http://data.userprofile.community.theplatform.com/userprofile",
93
+ "Manifest Redirect Service": "http://redirect.manifest.theplatform.com/r",
94
+ "Feeds Service": "http://feed.theplatform.com/f",
95
+ "Shopping Cart Service": "https://shoppingcart.commerce.theplatform.com/cart",
96
+ "ACS Data Service": "http://data.acs.euid.theplatform.com/acsdata",
97
+ "Live Event Data Service read-only": "http://data.liveevent.theplatform.com/liveevent",
98
+ "Decision Manager Service": "https://decide.altcontent.tv.theplatform.com/d",
99
+ "Windows Media License Service": "https://wm.entitlement.theplatform.com/wmlicense",
100
+ "Media Data Service": "http://data.media.theplatform.com/media",
101
+ "Flash Access Service": "http://flashaccess.entitlement.theplatform.com",
102
+ "Ledger Data Service": "https://ledger.commerce.theplatform.com/ledger",
103
+ "Entertainment Data Service": "http://data.entertainment.tv.theplatform.com/entertainment",
104
+ "Access Data Service master": "http://access.auth.theplatform.com",
105
+ "Cue Point Data Service": "http://data.cuepoint.theplatform.com/cuepoint",
106
+ "Workflow Data Service read-only": "http://data.workflow.theplatform.com/workflow",
107
+ "Entertainment Data Service read-only": "http://read.data.entertainment.tv.theplatform.com/entertainment",
108
+ "Access Data Service audience read-only": "http://enduser.access.auth.theplatform.com",
109
+ "Product Data Service read-only": "http://read.data.product.theplatform.com/product",
110
+ "Payment Data Service": "https://payment.commerce.theplatform.com/payment",
111
+ "File Management Service": "http://fms.theplatform.com",
112
+ "Windows Media License Generator Service": "http://208.79.64.254/LicenseServer",
113
+ "Order Data Service": "https://order.commerce.theplatform.com/order",
114
+ "Live Event Service": "http://liveevent.theplatform.com",
115
+ "Account Data Service": "http://mps.theplatform.com",
116
+ "Entitlement Data Service": "http://data.entitlement.theplatform.com/eds"
117
+ }
118
+ }
@@ -0,0 +1,544 @@
1
+ {
2
+ "Access Data Service": {
3
+ "url": "http://access.auth.theplatform.com",
4
+ "end_user": "Access Data Service audience",
5
+ "read_only": true,
6
+ "path": "web",
7
+ "form": "json",
8
+ "endpoints": {
9
+ "Registry": {
10
+ "schema": "1.1",
11
+ "methods": {
12
+ "resolveAllUrls": [
13
+ "service"
14
+ ],
15
+ "resolveDomain": [
16
+ "accountId"
17
+ ],
18
+ "resolveUrlByAccount": [
19
+ "accountId",
20
+ "service"
21
+ ],
22
+ "resolveUrlByPid": [
23
+ "pid",
24
+ "service"
25
+ ]
26
+ }
27
+ },
28
+ "Lookup": {
29
+ "schema": "1.0",
30
+ "methods": {
31
+ "getAccountInfoByIds": [
32
+ "AccountIds"
33
+ ],
34
+ "getParentAccountInfoByIds": [
35
+ "AccountIds"
36
+ ]
37
+ }
38
+ },
39
+ "Authorization": {
40
+ "schema": "1.3",
41
+ "methods": {
42
+ "authorize": [
43
+ "operations"
44
+ ],
45
+ "authorizeList": [
46
+ "requests"
47
+ ]
48
+ }
49
+ }
50
+ }
51
+ },
52
+ "Admin Storefront Service": {
53
+ "form": "json",
54
+ "path": "web",
55
+ "endpoints": {
56
+ "schema": "1.4",
57
+ "Checkout": {
58
+ "methods": {
59
+ "abandonOrder": [
60
+ "providerOrderRef"
61
+ ],
62
+ "commitOrder": [
63
+ "providerOrderRef",
64
+ "paymentInstrumentCreationInfo",
65
+ "secondaryAuth",
66
+ "userId"
67
+ ],
68
+ "createOrder": [
69
+ "purchaseItemInfos",
70
+ "paymentRef",
71
+ "paymentInstrumentCreationInfo",
72
+ "promotionCode",
73
+ "properties",
74
+ "userId",
75
+ "locale"
76
+ ],
77
+ "inAppOrder": [
78
+ "type",
79
+ "purchaseItemInfo",
80
+ "paymentInstrumentInfo",
81
+ "properties"
82
+ ],
83
+ "oneStepOrder": [
84
+ "userId",
85
+ "secondaryAuth",
86
+ "purchaseItemInfos",
87
+ "paymentInstrumentCreationInfo",
88
+ "paymentRef",
89
+ "locale",
90
+ "promotionCode",
91
+ "properties"
92
+ ],
93
+ "refreshReceipt": [
94
+ "type",
95
+ "receiptInfo",
96
+ "paymentRef"
97
+ ],
98
+ "applyPromotionToContract": [
99
+ "contractId",
100
+ "promotionCode",
101
+ "extendContractForPromotion",
102
+ "allowPartialDiscount"
103
+ ],
104
+ "autoRenewSubscription": [
105
+ "contractId",
106
+ "autoRenew"
107
+ ],
108
+ "billSubscription": [
109
+ "billingInstruction"
110
+ ],
111
+ "cancelSubscription": [
112
+ "contractId",
113
+ "forceCancel",
114
+ "refund",
115
+ "atNextAction"
116
+ ],
117
+ "changeAllContractPayments": [
118
+ "oldPaymentInstrumentId",
119
+ "newPaymentInstrumentId"
120
+ ],
121
+ "changeContractPayment": [
122
+ "contractId",
123
+ "newPaymentInstrumentId"
124
+ ],
125
+ "endSubscription": [
126
+ "contractId"
127
+ ],
128
+ "extendSubscription": [
129
+ "contractId",
130
+ "numberOfIntervals"
131
+ ],
132
+ "reactivateSubscription": [
133
+ "contractId",
134
+ "paymentInstrumentId",
135
+ "billAmountType"
136
+ ],
137
+ "refundItem": [
138
+ "fulfillmentItemRef",
139
+ "amount",
140
+ "message"
141
+ ],
142
+ "refundItems": [
143
+ "fulfillmentItemRefs",
144
+ "message"
145
+ ],
146
+ "renewSubscription": [
147
+ "contractId"
148
+ ],
149
+ "rolloverSubscription": [
150
+ "contractId",
151
+ "newSubscriptionId",
152
+ "forceRollover",
153
+ "refund",
154
+ "atNextAction"
155
+ ]
156
+ }
157
+ }
158
+ }
159
+ },
160
+ "Entertainment Ingest Data Service": {
161
+ "form": "json",
162
+ "path": "web",
163
+ "endpoints": {
164
+ "schema": "1.0",
165
+ "Process": {
166
+ "methods": {
167
+ "cancelIngest": [
168
+ "ingestResultId"
169
+ ]
170
+ }
171
+ }
172
+ }
173
+ },
174
+ "Entitlement License Service": {
175
+ "path": "web",
176
+ "form": "json",
177
+ "endpoints": {
178
+ "ContentAccessRules": {
179
+ "schema": "1.0",
180
+ "methods": {
181
+ "GetApplicableDistributionRights": [],
182
+ "GetApplicableDistributionRightsWithSubjectInfo": [
183
+ "subjectInfo",
184
+ "retrieveAdditionalSubjectInformation"
185
+ ]
186
+ }
187
+ },
188
+ "License": {
189
+ "schema": "2.6",
190
+ "methods": {
191
+ "GetEMMs.cgi": [
192
+ "assetid",
193
+ "clientid",
194
+ "time",
195
+ "userdata"
196
+ ],
197
+ "getLicenseResponse": [
198
+ "releasePids",
199
+ "releaseIds",
200
+ "protectionScheme",
201
+ "auth",
202
+ "deviceId",
203
+ "clientIdentifier"
204
+ ],
205
+ "getLicenseResponseWithSubjectInfo": [
206
+ "releasePids",
207
+ "releaseIds",
208
+ "protectionScheme",
209
+ "subjectInfo",
210
+ "retrieveAdditionalSubjectInformation",
211
+ "deviceId"
212
+ ]
213
+ }
214
+ }
215
+ }
216
+ },
217
+ "Entitlement Register Device": {
218
+ "url": "http://entitlement.theplatform.com/ent",
219
+ "path": "web",
220
+ "form": "json",
221
+ "extraParams": "audience",
222
+ "endpoints": {
223
+ "schema": "1.0",
224
+ "RegisterDevice": {
225
+ "methods": {
226
+ "registerPhysicalDevice": [
227
+ "keyModulus",
228
+ "physicalDeviceId",
229
+ "publicKeyExponent"
230
+ ],
231
+ "registerProductDevice": [
232
+ "productDevice",
233
+ "physicalDevice"
234
+ ],
235
+ "registerUserDevice": [
236
+ "userDevice",
237
+ "productDevice",
238
+ "physicalDevice"
239
+ ]
240
+ }
241
+ }
242
+ }
243
+ },
244
+ "Entitlement Web Service": {
245
+ "form": "json",
246
+ "path": "web",
247
+ "endpoints": {
248
+ "Cookie": {
249
+ "schema": "1.0",
250
+ "methods": {
251
+ "clearDrmCookie": [
252
+ "account"
253
+ ],
254
+ "setDrmCookie": [
255
+ "account",
256
+ "deviceId",
257
+ "expirationDate",
258
+ "token"
259
+ ]
260
+ }
261
+ },
262
+ "Entitlement": {
263
+ "schema": "2.1",
264
+ "methods": {
265
+ "registerDevice": [
266
+ "device"
267
+ ],
268
+ "renewEntitlements": [
269
+ "entitlementsIds"
270
+ ],
271
+ "resetRightsInfo": [
272
+ "entitlementId"
273
+ ]
274
+ }
275
+ }
276
+ }
277
+ },
278
+ "File Management Service": {
279
+ "form": "json",
280
+ "path": "web",
281
+ "endpoints": {
282
+ "FileManagement": {
283
+ "schema": "1.6",
284
+ "methods": {
285
+ "analyzeFile": [
286
+ "fileId",
287
+ "batchId",
288
+ "taskPriority"
289
+ ],
290
+ "analyzeFiles": [
291
+ "fileIds",
292
+ "batchIds",
293
+ "transformId",
294
+ "taskPriority"
295
+ ],
296
+ "copyFile": [
297
+ "fileId",
298
+ "mediaId",
299
+ "serverId",
300
+ "mediaFileInfo",
301
+ "requiredPath",
302
+ "batchId",
303
+ "taskPriority"
304
+ ],
305
+ "copyNewFiles": [
306
+ "sourceFiles",
307
+ "mediaId",
308
+ "transformId",
309
+ "mediaFileSettings",
310
+ "transformArguments",
311
+ "batchIds",
312
+ "taskPriority"
313
+ ],
314
+ "deleteFile": [
315
+ "fileId",
316
+ "batchIds",
317
+ "deletePhysicalFileFirst",
318
+ "taskPriority"
319
+ ],
320
+ "deleteMedia": [
321
+ "mediaId",
322
+ "batchIds",
323
+ "taskPriority"
324
+ ],
325
+ "generateNewFiles": [
326
+ "sourceFiles",
327
+ "mediaId",
328
+ "transformId",
329
+ "mediaFileSettings",
330
+ "transformArguments",
331
+ "batchIds",
332
+ "taskPriority"
333
+ ],
334
+ "getUploadUrls": [
335
+ "serverId"
336
+ ],
337
+ "linkNewFile": [
338
+ "mediaId",
339
+ "sourceUrl",
340
+ "mediaFileInfo",
341
+ "analyze",
342
+ "batchId",
343
+ "taskPriority"
344
+ ],
345
+ "manageNewFile": [
346
+ "mediaId",
347
+ "sourceUrl",
348
+ "serverId",
349
+ "mediaFileInfo",
350
+ "analyze",
351
+ "batchId",
352
+ "taskPriority"
353
+ ],
354
+ "moveFile": [
355
+ "fileIds",
356
+ "serverId",
357
+ "requiredPath",
358
+ "batchIds",
359
+ "taskPriority"
360
+ ],
361
+ "moveNewFiles": [
362
+ "sourceFiles",
363
+ "mediaId",
364
+ "transformId",
365
+ "mediaFileSettings",
366
+ "transformArguments",
367
+ "batchIds",
368
+ "taskPriority"
369
+ ],
370
+ "resetTask": [
371
+ "taskId"
372
+ ]
373
+ }
374
+ }
375
+ }
376
+ },
377
+ "Live Event Service": {
378
+ "path": "web",
379
+ "form": "json",
380
+ "endpoints": {
381
+ "schema": "1.0",
382
+ "Replay": {
383
+ "methods": {
384
+ "deletePhysicalRecording": [
385
+ "prId",
386
+ "force"
387
+ ],
388
+ "resetPhysicalRecording": [
389
+ "prId",
390
+ "force"
391
+ ]
392
+ }
393
+ },
394
+ "Scheduling": {
395
+ "methods": {
396
+ "sync": [
397
+ "liveEncoderId"
398
+ ]
399
+ }
400
+ }
401
+ }
402
+ },
403
+ "Promotion Data Service": {
404
+ "form": "json",
405
+ "path": "web",
406
+ "endpoints": {
407
+ "Promotion": {
408
+ "schema": "1.2",
409
+ "methods": {
410
+ "applyPromotion": [
411
+ "productIds",
412
+ "promotionId",
413
+ "userId",
414
+ "promotionCode",
415
+ "purchaseCurrency"
416
+ ],
417
+ "countPromotionUses": [
418
+ "promotionId",
419
+ "userId",
420
+ "promotionCode"
421
+ ],
422
+ "countPromotionUsesForCode": [
423
+ "promotionCode",
424
+ "userId"
425
+ ]
426
+ }
427
+ }
428
+ }
429
+ },
430
+ "Publish Service": {
431
+ "form": "json",
432
+ "path": "web",
433
+ "endpoints": {
434
+ "schema": "1.2",
435
+ "Publish": {
436
+ "methods": {
437
+ "publish": [
438
+ "mediaId",
439
+ "profileId"
440
+ ],
441
+ "revoke": [
442
+ "mediaId",
443
+ "profileId"
444
+ ],
445
+ "update": [
446
+ "mediaId",
447
+ "profileId"
448
+ ],
449
+ "updateMetadata": [
450
+ "mediaId",
451
+ "profileId"
452
+ ]
453
+ }
454
+ }
455
+ }
456
+ },
457
+ "Storefront Service": {
458
+ "form": "json",
459
+ "path": "web",
460
+ "endpoints": {
461
+ "schema": "1.1",
462
+ "Publish": {
463
+ "methods": {
464
+ "createPaymentInstrument": [
465
+ "billingAddress",
466
+ "expirationDate",
467
+ "expirationMonth",
468
+ "expirationYear",
469
+ "guid",
470
+ "isSingleUse",
471
+ "last4",
472
+ "name",
473
+ "paymentConfigurationId",
474
+ "properties",
475
+ "userId"
476
+ ],
477
+ "deletePaymentInstrument": [
478
+ "id",
479
+ "userId",
480
+ "eraseGuid"
481
+ ],
482
+ "getPaymentGatewayInfo": [
483
+ "added",
484
+ "description",
485
+ "gatewayConfigurationId",
486
+ "gatewayType",
487
+ "title",
488
+ "updated"
489
+ ],
490
+ "updatePaymentInstrument": [
491
+ "expirationDate",
492
+ "expirationMonth",
493
+ "expirationYear",
494
+ "id",
495
+ "name",
496
+ "userId"
497
+ ]
498
+ }
499
+ }
500
+ }
501
+ },
502
+ "User Data Service": {
503
+ "endpoints": {
504
+ "Authentication": {
505
+ "schema": "1.1",
506
+ "methods": {
507
+ "signIn": [
508
+ "username",
509
+ "password",
510
+ "idleTimeout",
511
+ "duration"
512
+ ],
513
+ "signOut": [
514
+ "token"
515
+ ]
516
+ }
517
+ }
518
+ },
519
+ "form": "json",
520
+ "url": "https://identity.auth.theplatform.com/idm",
521
+ "path": "web"
522
+ },
523
+ "Windows Media License Service": {
524
+ "path": "web",
525
+ "form": "json",
526
+ "endpoints": {
527
+ "License": {
528
+ "schema": "2.6",
529
+ "methods": {
530
+ "getLicense": [
531
+ "challenge",
532
+ "releaseId"
533
+ ],
534
+ "getLicensesForDevice": [
535
+ "deviceId",
536
+ "deviceinfo",
537
+ "releases",
538
+ "releasePids"
539
+ ]
540
+ }
541
+ }
542
+ }
543
+ }
544
+ }