Skip to content

Instantly share code, notes, and snippets.

@koroff
Created April 10, 2020 07:41
Show Gist options
  • Select an option

  • Save koroff/e2b207f435b271b340605900a23b51ce to your computer and use it in GitHub Desktop.

Select an option

Save koroff/e2b207f435b271b340605900a23b51ce to your computer and use it in GitHub Desktop.
dopurchase
Summary
URL: https://pre-ctx.playfamily.ru/screenapi/v2/dopurchase/web/1
Status: 200
Source: Network
Address: 185.32.70.134:443
Initiator:
client.ed11b102.js:1:111944
Request
:method: POST
:scheme: https
:authority: pre-ctx.playfamily.ru
:path: /screenapi/v2/dopurchase/web/1
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate, br
Host: pre-ctx.playfamily.ru
Origin: https://pre.okko.sport
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15
Connection: keep-alive
Referer: https://pre.okko.sport/
Content-Length: 248
X-SCRAPI-CLIENT-TS: 1586504226966
X-SCRAPI-SIGNATURE: d028b42af5b3f35fe677c885ebaa818b
Response
:status: 200
Access-Control-Allow-Credentials: true
Content-Type: application/json;charset=UTF-8
Content-Language: en-US
Access-Control-Allow-Origin: *
Date: Fri, 10 Apr 2020 07:37:07 GMT
Content-Encoding: gzip
Cache-Control: no-store
Vary: Origin
Server: nginx/1.14.2
Strict-Transport-Security: max-age=63072000
x-application-context: screenapi:release-notes,preprod
Request Data
MIME Type: application/x-www-form-urlencoded; charset=utf-8
autoRenewal: true
elementId: 617e3f4e-8015-475e-bf0b-8877a2291405
elementType: SUBSCRIPTION
price: 0
priceCategory: 763
productType: PURCHASE
elementToReturnId: f950efca-5e4d-4cbd-95a8-aa68f5e4a944
elementToReturnType: TOURNAMENT
sid: YEQYFUA8nLHJn53Pa738RQ
{
"status": 0,
"callId": "168ed5b06d51.3197",
"serviceInfo": {
"serverTime": 1586504227094,
"clientLocation": {
"ip": "88.201.216.242",
"countryCode": "RU",
"country": "RUSSIAN FEDERATION"
},
"notifications": {
"items": []
}
},
"userInfo": {
"id": "2419368",
"type": "PLAY",
"email": "3a94797b4e632e1f55aab61c05669e96@okko.local",
"emailConfirmed": false,
"displayName": "koroffko",
"phone": null,
"phoneConfirmed": false,
"authAccounts": {
"items": [
{
"type": "TWITTER",
"extUserId": "97178327"
}
]
},
"preferences": {
"yv.email.send.announce_released": "true",
"yv.sms.send.renew_subscription": "true",
"yv.payment.prefer_link_card": "true",
"yv.sms.send.subscription_renewal_failure": "true",
"yv.sms.send.expire": "true",
"yv.subscription.device_limit": "5",
"yv.payment.topup.sms_notification": "false",
"yv.email.send.expired_subscription": "true",
"yv.subscription.auto_renew": "true",
"yv.email.send.subscription_renewal_failure": "true",
"yv.sms.send.expiration_subscription": "true",
"yv.payment.method.last": "UNDEFINED",
"yv.email.send.expiration_subscription": "false",
"yv.email.send.receipt": "true",
"yv.payment.buy.sms_notification": "false",
"yv.sms.send.expired_subscription": "true",
"yv.tv.mayday": "1",
"yv.email.send.digest": "true",
"yv.payment.topup.phone.last": ""
},
"offers": {
"items": [
{
"id": "premium_14_for_new_westworld_web",
"type": "UNIVERSAL_MULTISUBSCRIPTION",
"description": null,
"startDate": 1586504201923,
"endDate": 1586725257000,
"freePurchasesLeft": null,
"discountPrice": null,
"duration": 1209600000,
"landingUrl": null,
"landingElement": null,
"landingAction": null
},
{
"id": "promo_optimum_30_for_new_and_return_free_web",
"type": "UNIVERSAL_MULTISUBSCRIPTION",
"description": null,
"startDate": 1586504201922,
"endDate": 1591995630000,
"freePurchasesLeft": null,
"discountPrice": null,
"duration": 2592000000,
"landingUrl": null,
"landingElement": null,
"landingAction": null
}
]
},
"billingAccounts": {
"items": [
{
"id": "2235757",
"balance": {
"value": 0,
"currencyCode": "RU"
},
"reserve": {
"value": 0,
"currencyCode": "RU"
},
"description": "PLAY account #2235757"
}
]
},
"moviePlaybackAllowed": null,
"moviePurchaseAllowed": null,
"trailerPlaybackAllowed": null,
"multiSubscriptions": {
"items": [
{
"element": {
"id": "617e3f4e-8015-475e-bf0b-8877a2291405",
"type": "SUBSCRIPTION",
"name": "Okko Спорт. Месяц. Бесплатная",
"title": "Все лиги на 30 дней бесплатно",
"duration": 2592000000,
"alias": "725599",
"products": {
"items": [],
"emptyReason": null
},
"collectionItems": {
"items": [],
"totalSize": 1
},
"subscriptionStartDate": 1586504227142,
"subscriptionEndDate": 1589096227142,
"subscriptionActivateDate": null,
"needActivate": false,
"autoRenewEnabled": true,
"subscriptionBoughtWithOffer": false,
"sportSection": true,
"activationRules": null
}
}
]
}
},
"uiScreenInfo": {
"showGift": null,
"showEmailOffer": null,
"showMultiSubscriptionTrialForPurchase": null,
"categoriesUpdated": null
},
"element": {
"id": "f950efca-5e4d-4cbd-95a8-aa68f5e4a944",
"type": "TOURNAMENT",
"name": "Товарищеские матчи",
"basicCovers": {
"items": [
{
"url": "https://pre-static.okko.tv/images/v2/9023796",
"imageType": "BACKGROUND"
},
{
"url": "https://pre-static.okko.tv/images/v2/9023794",
"imageType": "LOGO"
}
]
},
"description": "Товарищеские матчи",
"title": "Товарищеские матчи",
"duration": null,
"alias": "exhibition-games",
"seqNo": -2147483648,
"releaseType": "RELEASE",
"reserve": null,
"playbackStartDate": null,
"playbackTimeMark": null,
"selectedChildId": null,
"products": {
"items": [],
"emptyReason": null
},
"licenses": {
"items": [
{
"id": null,
"consumptionMode": "SUBSCRIPTION",
"qualities": [
"Q_SD",
"Q_HD",
"Q_FULL_HD"
],
"subscriptionId": "617e3f4e-8015-475e-bf0b-8877a2291405",
"expireDate": 1589096227142,
"playbackState": {
"type": null,
"errorCode": 0
}
}
]
},
"assets": {
"items": []
},
"parent": null,
"children": null,
"collectionItems": {
"items": [
{
"element": {
"id": "27b26bff-9cb4-45d9-a0f8-fa6b62635624",
"type": "GAME",
"name": "Bournemouth - Lazio",
"title": null,
"duration": null,
"alias": "213196",
"seqNo": -2147483648,
"playbackStartDate": null,
"playbackTimeMark": null,
"selectedChildId": null,
"subscriptionStartDate": null,
"subscriptionEndDate": null,
"subscriptionActivateDate": null,
"needActivate": null,
"autoRenewEnabled": false,
"subscriptionBoughtWithOffer": null,
"sportSection": null,
"watchDate": null,
"bookmarkDate": null,
"expireDate": null,
"purchaseDate": null,
"lastWatchedChildId": null,
"consumeDate": null
}
},
{
"element": {
"id": "ddd1aeb2-af1d-40c8-a225-4f51734501d5",
"type": "GAME",
"name": "Brazil - Argentina",
"title": null,
"duration": null,
"alias": "599025",
"seqNo": -2147483648,
"playbackStartDate": null,
"playbackTimeMark": null,
"selectedChildId": null,
"subscriptionStartDate": null,
"subscriptionEndDate": null,
"subscriptionActivateDate": null,
"needActivate": null,
"autoRenewEnabled": false,
"subscriptionBoughtWithOffer": null,
"sportSection": null,
"watchDate": null,
"bookmarkDate": null,
"expireDate": null,
"purchaseDate": null,
"lastWatchedChildId": null,
"consumeDate": null
}
},
{
"element": {
"id": "1209dcaf-af97-4c13-9b55-b6ab4ad80b7f",
"type": "GAME",
"name": "Brazil - Nigeria",
"title": null,
"duration": null,
"alias": "565869",
"seqNo": -2147483648,
"playbackStartDate": null,
"playbackTimeMark": null,
"selectedChildId": null,
"subscriptionStartDate": null,
"subscriptionEndDate": null,
"subscriptionActivateDate": null,
"needActivate": null,
"autoRenewEnabled": false,
"subscriptionBoughtWithOffer": null,
"sportSection": null,
"watchDate": null,
"bookmarkDate": null,
"expireDate": null,
"purchaseDate": null,
"lastWatchedChildId": null,
"consumeDate": null
}
},
{
"element": {
"id": "a33888bb-883c-4fc8-885a-17bfdd96e539",
"type": "GAME",
"name": "Brazil - Senegal",
"title": null,
"duration": null,
"alias": "565868",
"seqNo": -2147483648,
"playbackStartDate": null,
"playbackTimeMark": null,
"selectedChildId": null,
"subscriptionStartDate": null,
"subscriptionEndDate": null,
"subscriptionActivateDate": null,
"needActivate": null,
"autoRenewEnabled": false,
"subscriptionBoughtWithOffer": null,
"sportSection": null,
"watchDate": null,
"bookmarkDate": null,
"expireDate": null,
"purchaseDate": null,
"lastWatchedChildId": null,
"consumeDate": null
}
},
{
"element": {
"id": "37530e76-9623-466c-84b4-b962c8765f50",
"type": "GAME",
"name": "Brazil - South Korea",
"title": null,
"duration": null,
"alias": "599028",
"seqNo": -2147483648,
"playbackStartDate": null,
"playbackTimeMark": null,
"selectedChildId": null,
"subscriptionStartDate": null,
"subscriptionEndDate": null,
"subscriptionActivateDate": null,
"needActivate": null,
"autoRenewEnabled": false,
"subscriptionBoughtWithOffer": null,
"sportSection": null,
"watchDate": null,
"bookmarkDate": null,
"expireDate": null,
"purchaseDate": null,
"lastWatchedChildId": null,
"consumeDate": null
}
},
{
"element": {
"id": "7b9349b7-4265-48b2-a5c2-ddd4a55f92ea",
"type": "GAME",
"name": "FC Barcelona - Arsenal",
"title": null,
"duration": null,
"alias": "213200",
"seqNo": -2147483648,
"playbackStartDate": null,
"playbackTimeMark": null,
"selectedChildId": null,
"subscriptionStartDate": null,
"subscriptionEndDate": null,
"subscriptionActivateDate": null,
"needActivate": null,
"autoRenewEnabled": false,
"subscriptionBoughtWithOffer": null,
"sportSection": null,
"watchDate": null,
"bookmarkDate": null,
"expireDate": null,
"purchaseDate": null,
"lastWatchedChildId": null,
"consumeDate": null
}
},
{
"element": {
"id": "de7423df-d248-4ae7-adc0-4ff1de6cb993",
"type": "GAME",
"name": "Werder Bremen - Everton",
"title": null,
"duration": null,
"alias": "213197",
"seqNo": -2147483648,
"playbackStartDate": null,
"playbackTimeMark": null,
"selectedChildId": null,
"subscriptionStartDate": null,
"subscriptionEndDate": null,
"subscriptionActivateDate": null,
"needActivate": null,
"autoRenewEnabled": false,
"subscriptionBoughtWithOffer": null,
"sportSection": null,
"watchDate": null,
"bookmarkDate": null,
"expireDate": null,
"purchaseDate": null,
"lastWatchedChildId": null,
"consumeDate": null
}
},
{
"element": {
"id": "859e12d3-b9a6-4075-a688-56daa9281152",
"type": "GAME",
"name": "West Ham United - Athletic Bilbao",
"title": null,
"duration": null,
"alias": "213198",
"seqNo": -2147483648,
"playbackStartDate": null,
"playbackTimeMark": null,
"selectedChildId": null,
"subscriptionStartDate": null,
"subscriptionEndDate": null,
"subscriptionActivateDate": null,
"needActivate": null,
"autoRenewEnabled": false,
"subscriptionBoughtWithOffer": null,
"sportSection": null,
"watchDate": null,
"bookmarkDate": null,
"expireDate": null,
"purchaseDate": null,
"lastWatchedChildId": null,
"consumeDate": null
}
}
],
"totalSize": 8
},
"contentCountDescription": null,
"subscriptionBundle": false,
"subscriptionStartDate": null,
"subscriptionEndDate": null,
"subscriptionActivateDate": null,
"needActivate": null,
"autoRenewEnabled": false,
"subscriptionBoughtWithOffer": null,
"sportSection": true,
"watchDate": null,
"bookmarkDate": null,
"expireDate": null,
"purchaseDate": null,
"lastWatchedChildId": null,
"consumeDate": null
},
"transactionInfo": {
"id": "b07f6db0-59d2-444f-8c1b-9c933eebdea2",
"offer": null
},
"activatedOffers": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment