Casino API Keys APIs
Click an API to expand/collapse it.
- Description
-
Allows a casino operator to generate a long lasting API key for accessing the sdk related APIs.
- You can use the same method to create a new API key
- The old key will be replaced with the new one.
- Request Endpoint
- POST https://<Example api server address>/casino/{casinoId}/developer/key
- Parameters
-
Parameter |
Type |
Use |
Description |
casinoId |
String |
Required |
The casino id. |
- cURL syntax
-
curl --include \
--request POST \
'https://core.dev.Example.net/api/casino/casinoId/developer/key'
- Response body
-
Headers: Content-Type: application/json | HTTPS Status Code: 200
{
"data": {
"id": "e61f2c4c-6931-4141-a96f-9abce60b3b24",
"casino": {
"id": "85444112-4ab7-4239-92f5-bc320b7a44ba",
"name": "Casino 1",
"videoUrl": null,
"imageUrl": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/image2.jpeg",
"description": "desc1",
"website": "http://google.com",
"icon": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/image1.jpeg",
"banner": null,
"deletedBy": null,
"deletedOn": null,
"operatorStatus": "VERIFIED",
"email": "sudipta.bhaumik@innoflexion.com",
"userRole": "OPERATOR",
"firstName": "Sudipta",
"lastName": "Bhaumik",
"address": "address"
},
"apiKey": "0856b17e735b6935b996b20ef5e8b2b6a636d044fc85abffc87d4036cbac81c8",
"disabled": false,
"generatedOn": 1470040771197
},
"detail": null,
"error": false,
"message": "Generating developer key successful."
}
Return to top
- Description
- Gets a casino’s existing developer key.
- Request Endpoint
- GET https://<Example api server address>/casino/{casinoId}/developer/key
- Parameters
-
Parameter |
Type |
Use |
Description |
casinoId |
String |
Required |
The casino id. |
- cURL syntax
-
curl --include \
'https://core.dev.Example.net/api/casino/casinoId/developer/key'
- Response body
-
Headers: Content-Type: application/json | HTTPS Status Code: 200
{
"data": {
"id": "e61f2c4c-6931-4141-a96f-9abce60b3b24",
"casino": {
"id": "85444112-4ab7-4239-92f5-bc320b7a44ba",
"name": "Casino 1",
"videoUrl": null,
"imageUrl": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/image2.jpeg",
"description": "desc1",
"website": "http://google.com",
"icon": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/image1.jpeg",
"banner": null,
"deletedBy": null,
"deletedOn": null,
"operatorStatus": "VERIFIED",
"email": "sudipta.bhaumik@innoflexion.com",
"userRole": "OPERATOR",
"firstName": "Sudipta",
"lastName": "Bhaumik",
"address": "address"
},
"apiKey": "0856b17e735b6935b996b20ef5e8b2b6a636d044fc85abffc87d4036cbac81c8",
"disabled": false,
"generatedOn": 1470040771197
},
"detail": null,
"error": false,
"message": "Fetching developer key successful."
}
Return to top