|
| 1 | +{ |
| 2 | + "log": { |
| 3 | + "_recordingName": "Teams/Get all teams returns \"OK\" response with pagination", |
| 4 | + "creator": { |
| 5 | + "comment": "persister:fs", |
| 6 | + "name": "Polly.JS", |
| 7 | + "version": "6.0.5" |
| 8 | + }, |
| 9 | + "entries": [ |
| 10 | + { |
| 11 | + "_id": "98476bb184a8bacc3c4d9d5339912612", |
| 12 | + "_order": 0, |
| 13 | + "cache": {}, |
| 14 | + "request": { |
| 15 | + "bodySize": 0, |
| 16 | + "cookies": [], |
| 17 | + "headers": [ |
| 18 | + { |
| 19 | + "_fromType": "array", |
| 20 | + "name": "accept", |
| 21 | + "value": "application/json" |
| 22 | + } |
| 23 | + ], |
| 24 | + "headersSize": 530, |
| 25 | + "httpVersion": "HTTP/1.1", |
| 26 | + "method": "GET", |
| 27 | + "queryString": [ |
| 28 | + { |
| 29 | + "name": "page", |
| 30 | + "value": { |
| 31 | + "number": "0", |
| 32 | + "size": "2" |
| 33 | + } |
| 34 | + } |
| 35 | + ], |
| 36 | + "url": "https://api.datadoghq.com/api/v2/team?page%5Bsize%5D=2&page%5Bnumber%5D=0" |
| 37 | + }, |
| 38 | + "response": { |
| 39 | + "bodySize": 1528, |
| 40 | + "content": { |
| 41 | + "mimeType": "application/json", |
| 42 | + "size": 1528, |
| 43 | + "text": "{\"data\":[{\"type\":\"team\",\"attributes\":{\"created_at\":\"2023-03-22T17:12:07.018313+00:00\",\"user_count\":0,\"description\":null,\"link_count\":0,\"modified_at\":\"2023-03-22T17:12:07.018317+00:00\",\"name\":\"Example Team\",\"summary\":null,\"handle\":\"api-spec-test-team\"},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/ac73040e-c8d4-11ed-b2ea-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/ac73040e-c8d4-11ed-b2ea-da7ad0900002/permission-settings\"}}},\"id\":\"ac73040e-c8d4-11ed-b2ea-da7ad0900002\"},{\"type\":\"team\",\"attributes\":{\"created_at\":\"2023-08-21T19:49:10.718738+00:00\",\"user_count\":1,\"description\":\"\",\"link_count\":0,\"modified_at\":\"2023-08-21T19:49:10.718744+00:00\",\"name\":\"test-name-12938712938\",\"summary\":null,\"handle\":\"test-handle-12938712938\"},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/cc338b02-405b-11ee-835e-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/cc338b02-405b-11ee-835e-da7ad0900002/permission-settings\"}}},\"id\":\"cc338b02-405b-11ee-835e-da7ad0900002\"}],\"meta\":{\"pagination\":{\"number\":0,\"first_number\":0,\"prev_number\":0,\"next_number\":1,\"last_number\":1,\"size\":2,\"type\":\"number_size\",\"total\":3}},\"links\":{\"self\":\"https://api.datadoghq.com/api/v2/team?page%5Bsize%5D=2&page%5Bnumber%5D=0\",\"last\":\"https://api.datadoghq.com/api/v2/team?page[number]=1&page[size]=2\",\"next\":\"https://api.datadoghq.com/api/v2/team?page[number]=1&page[size]=2\",\"prev\":null,\"first\":\"https://api.datadoghq.com/api/v2/team?page[number]=0&page[size]=2\"}}\n" |
| 44 | + }, |
| 45 | + "cookies": [], |
| 46 | + "headers": [ |
| 47 | + { |
| 48 | + "name": "content-type", |
| 49 | + "value": "application/json" |
| 50 | + } |
| 51 | + ], |
| 52 | + "headersSize": 654, |
| 53 | + "httpVersion": "HTTP/1.1", |
| 54 | + "redirectURL": "", |
| 55 | + "status": 200, |
| 56 | + "statusText": "OK" |
| 57 | + }, |
| 58 | + "startedDateTime": "2023-09-05T14:20:30.342Z", |
| 59 | + "time": 505 |
| 60 | + }, |
| 61 | + { |
| 62 | + "_id": "d64aaa571d976ad41f99706c14c7dad7", |
| 63 | + "_order": 0, |
| 64 | + "cache": {}, |
| 65 | + "request": { |
| 66 | + "bodySize": 0, |
| 67 | + "cookies": [], |
| 68 | + "headers": [ |
| 69 | + { |
| 70 | + "_fromType": "array", |
| 71 | + "name": "accept", |
| 72 | + "value": "application/json" |
| 73 | + } |
| 74 | + ], |
| 75 | + "headersSize": 530, |
| 76 | + "httpVersion": "HTTP/1.1", |
| 77 | + "method": "GET", |
| 78 | + "queryString": [ |
| 79 | + { |
| 80 | + "name": "page", |
| 81 | + "value": { |
| 82 | + "number": "1", |
| 83 | + "size": "2" |
| 84 | + } |
| 85 | + } |
| 86 | + ], |
| 87 | + "url": "https://api.datadoghq.com/api/v2/team?page%5Bsize%5D=2&page%5Bnumber%5D=1" |
| 88 | + }, |
| 89 | + "response": { |
| 90 | + "bodySize": 1114, |
| 91 | + "content": { |
| 92 | + "mimeType": "application/json", |
| 93 | + "size": 1114, |
| 94 | + "text": "{\"data\":[{\"type\":\"team\",\"relationships\":{\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/ecc8affc-27d6-11ee-b33c-da7ad0900002/permission-settings\"}},\"team_links\":{\"links\":{\"related\":\"/api/v2/team/ecc8affc-27d6-11ee-b33c-da7ad0900002/links\"}}},\"attributes\":{\"link_count\":0,\"handle\":\"tf-testaccteamlinkbasic-local-1689951453\",\"modified_at\":\"2023-07-21T14:57:34.412713+00:00\",\"created_at\":\"2023-07-21T14:57:34.412707+00:00\",\"summary\":\"123\",\"name\":\"tf-testaccteamlinkbasic-local-1689951453\",\"user_count\":0,\"description\":\"123\"},\"id\":\"ecc8affc-27d6-11ee-b33c-da7ad0900002\"}],\"meta\":{\"pagination\":{\"number\":1,\"first_number\":0,\"prev_number\":0,\"next_number\":2,\"last_number\":1,\"size\":2,\"type\":\"number_size\",\"total\":3}},\"links\":{\"self\":\"https://api.datadoghq.com/api/v2/team?page%5Bsize%5D=2&page%5Bnumber%5D=1\",\"last\":\"https://api.datadoghq.com/api/v2/team?page[number]=1&page[size]=2\",\"next\":\"https://api.datadoghq.com/api/v2/team?page[number]=2&page[size]=2\",\"prev\":\"https://api.datadoghq.com/api/v2/team?page[number]=0&page[size]=2\",\"first\":\"https://api.datadoghq.com/api/v2/team?page[number]=0&page[size]=2\"}}\n" |
| 95 | + }, |
| 96 | + "cookies": [], |
| 97 | + "headers": [ |
| 98 | + { |
| 99 | + "name": "content-type", |
| 100 | + "value": "application/json" |
| 101 | + } |
| 102 | + ], |
| 103 | + "headersSize": 654, |
| 104 | + "httpVersion": "HTTP/1.1", |
| 105 | + "redirectURL": "", |
| 106 | + "status": 200, |
| 107 | + "statusText": "OK" |
| 108 | + }, |
| 109 | + "startedDateTime": "2023-09-05T14:20:30.855Z", |
| 110 | + "time": 483 |
| 111 | + } |
| 112 | + ], |
| 113 | + "pages": [], |
| 114 | + "version": "1.2" |
| 115 | + } |
| 116 | +} |
0 commit comments