"description":"Get all kinds\nThe API returns a list of all kinds in the specific {Slb-Data-Partition-Id}. Required roles: 'users.datalake.editors' or 'users.datalake.admins'."
},
"response":[]
},
{
"name":"02a Storage - Get kinds using cursor with limit of 10 records",
"event":[
{
"listen":"test",
"script":{
"id":"bd96663d-2ac4-4b5b-a370-a282213e742f",
"exec":[
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"try {",
" var jsonData = JSON.parse(responseBody);",
" var counter = jsonData.results.length;",
" console.log(counter);",
" tests[\"Total number of kinds retrived: \" + counter] = counter == 10;",
"}",
"catch (e) {",
" console.log(e.message);",
"}"
],
"type":"text/javascript"
}
}
],
"request":{
"method":"GET",
"header":[
{
"description":"This value should be the desired data partition id.",
"description":"Get all kinds\nThe API returns a list of all kinds in the specific {Slb-Data-Partition-Id}. Required roles: 'users.datalake.editors' or 'users.datalake.admins'."
},
"response":[]
},
{
"name":"03 Storage - Get all kinds with invalid value for parameter limit",
"description":"Get all kinds\nThe API returns a list of all kinds in the specific {Slb-Data-Partition-Id}. Required roles: 'users.datalake.editors' or 'users.datalake.admins'."
},
"response":[]
},
{
"name":"08aii - Storage - Get all records for a kind with cursor limit of 10 records",
"event":[
{
"listen":"test",
"script":{
"id":"6035753a-1b63-47ed-b2ad-e36fcaf4ff6d",
"exec":[
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"try {",
" var jsonData = JSON.parse(responseBody);",
" var counter = jsonData.results.length;",
" console.log(counter);",
" tests[\"Total number of kinds retrived: \" + counter] = counter == 10;",
"}",
"catch (e) {",
" console.log(e.message);",
"}"
],
"type":"text/javascript"
}
}
],
"request":{
"method":"GET",
"header":[
{
"description":"This value should be the desired data partition id.",
"description":"Get all kinds\nThe API returns a list of all kinds in the specific {Slb-Data-Partition-Id}. Required roles: 'users.datalake.editors' or 'users.datalake.admins'."
},
"response":[]
},
{
"name":"08aiii - Storage - Get all records for a kind with invalid cursor",
"event":[
{
"listen":"test",
"script":{
"id":"f8e99ca4-7825-49dc-ae52-16703f82e3d6",
"exec":[
"pm.test(\"Status code is 400\", function () {",
" pm.response.to.have.status(400);",
"});",
"pm.test(\"Status description - Bad Request\", function () {",
"description":"Get all kinds\nThe API returns a list of all kinds in the specific {Slb-Data-Partition-Id}. Required roles: 'users.datalake.editors' or 'users.datalake.admins'."