|
| 1 | +--- |
| 2 | +version: 1 |
| 3 | +interactions: |
| 4 | +- request: |
| 5 | + body: '{"name":"cli-hub-jovial-bardeen","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","product_plan":"plan_shared","disable_events":null,"events_topic_prefix":null}' |
| 6 | + form: {} |
| 7 | + headers: |
| 8 | + Content-Type: |
| 9 | + - application/json |
| 10 | + User-Agent: |
| 11 | + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) cli-e2e-test |
| 12 | + url: https://api.scaleway.com/iot/v1/regions/fr-par/hubs |
| 13 | + method: POST |
| 14 | + response: |
| 15 | + body: '{"region":"fr-par","id":"e50c1da4-3ade-4c67-9321-ce39d4bbe1ca","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","name":"cli-hub-jovial-bardeen","status":"enabling","product_plan":"plan_shared","endpoint":"iot.fr-par.scw.cloud","created_at":"2022-11-14T11:22:39.323Z","updated_at":"2022-11-14T11:22:39.323Z","enabled":true,"device_count":0,"connected_device_count":0,"disable_events":false,"events_topic_prefix":"$SCW/events","enable_device_auto_provisioning":false,"has_custom_ca":false}' |
| 16 | + headers: |
| 17 | + Content-Length: |
| 18 | + - "547" |
| 19 | + Content-Security-Policy: |
| 20 | + - default-src 'none'; frame-ancestors 'none' |
| 21 | + Content-Type: |
| 22 | + - application/json |
| 23 | + Date: |
| 24 | + - Mon, 14 Nov 2022 11:22:40 GMT |
| 25 | + Server: |
| 26 | + - Scaleway API-Gateway |
| 27 | + Strict-Transport-Security: |
| 28 | + - max-age=63072000 |
| 29 | + X-Content-Type-Options: |
| 30 | + - nosniff |
| 31 | + X-Frame-Options: |
| 32 | + - DENY |
| 33 | + X-Request-Id: |
| 34 | + - 222f5144-1163-4d21-a630-0b46321f6946 |
| 35 | + status: 200 OK |
| 36 | + code: 200 |
| 37 | + duration: "" |
| 38 | +- request: |
| 39 | + body: "" |
| 40 | + form: {} |
| 41 | + headers: |
| 42 | + User-Agent: |
| 43 | + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) cli-e2e-test |
| 44 | + url: https://api.scaleway.com/iot/v1/regions/fr-par/hubs/e50c1da4-3ade-4c67-9321-ce39d4bbe1ca |
| 45 | + method: GET |
| 46 | + response: |
| 47 | + body: '{"region":"fr-par","id":"e50c1da4-3ade-4c67-9321-ce39d4bbe1ca","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","name":"cli-hub-jovial-bardeen","status":"ready","product_plan":"plan_shared","endpoint":"iot.fr-par.scw.cloud","created_at":"2022-11-14T11:22:39.323Z","updated_at":"2022-11-14T11:22:39.323Z","enabled":true,"device_count":0,"connected_device_count":0,"disable_events":false,"events_topic_prefix":"$SCW/events","enable_device_auto_provisioning":false,"has_custom_ca":false}' |
| 48 | + headers: |
| 49 | + Content-Length: |
| 50 | + - "544" |
| 51 | + Content-Security-Policy: |
| 52 | + - default-src 'none'; frame-ancestors 'none' |
| 53 | + Content-Type: |
| 54 | + - application/json |
| 55 | + Date: |
| 56 | + - Mon, 14 Nov 2022 11:22:40 GMT |
| 57 | + Server: |
| 58 | + - Scaleway API-Gateway |
| 59 | + Strict-Transport-Security: |
| 60 | + - max-age=63072000 |
| 61 | + X-Content-Type-Options: |
| 62 | + - nosniff |
| 63 | + X-Frame-Options: |
| 64 | + - DENY |
| 65 | + X-Request-Id: |
| 66 | + - daf9e801-7561-40a4-918f-f291c72b93c2 |
| 67 | + status: 200 OK |
| 68 | + code: 200 |
| 69 | + duration: "" |
| 70 | +- request: |
| 71 | + body: '{"name":"cli-network-jolly-thompson","type":"sigfox","hub_id":"e50c1da4-3ade-4c67-9321-ce39d4bbe1ca","topic_prefix":"foo"}' |
| 72 | + form: {} |
| 73 | + headers: |
| 74 | + Content-Type: |
| 75 | + - application/json |
| 76 | + User-Agent: |
| 77 | + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) cli-e2e-test |
| 78 | + url: https://api.scaleway.com/iot/v1/regions/fr-par/networks |
| 79 | + method: POST |
| 80 | + response: |
| 81 | + body: '{"network":{"id":"0fc1c42f-050e-421e-86fc-54dcf154cf84","name":"cli-network-jolly-thompson","endpoint":"sigfox.iot.fr-par.scw.cloud","type":"sigfox","hub_id":"e50c1da4-3ade-4c67-9321-ce39d4bbe1ca","created_at":"2022-11-14T11:22:40.273Z","topic_prefix":"foo"},"secret":"eyJOZXRJRCI6IjBmYzFjNDJmLTA1MGUtNDIxZS04NmZjLTU0ZGNmMTU0Y2Y4NCIsIk5ldEtleSI6Ijg0ZWY0MzA4LTBmNjMtNGMyNy04YmJiLTA4YzkzOGU2ZmZkMiJ9"}' |
| 82 | + headers: |
| 83 | + Content-Length: |
| 84 | + - "399" |
| 85 | + Content-Security-Policy: |
| 86 | + - default-src 'none'; frame-ancestors 'none' |
| 87 | + Content-Type: |
| 88 | + - application/json |
| 89 | + Date: |
| 90 | + - Mon, 14 Nov 2022 11:22:40 GMT |
| 91 | + Server: |
| 92 | + - Scaleway API-Gateway |
| 93 | + Strict-Transport-Security: |
| 94 | + - max-age=63072000 |
| 95 | + X-Content-Type-Options: |
| 96 | + - nosniff |
| 97 | + X-Frame-Options: |
| 98 | + - DENY |
| 99 | + X-Request-Id: |
| 100 | + - dc27a96e-549f-458b-97c0-007028d7f448 |
| 101 | + status: 200 OK |
| 102 | + code: 200 |
| 103 | + duration: "" |
| 104 | +- request: |
| 105 | + body: "" |
| 106 | + form: {} |
| 107 | + headers: |
| 108 | + User-Agent: |
| 109 | + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) cli-e2e-test |
| 110 | + url: https://api.scaleway.com/iot/v1/regions/fr-par/hubs/e50c1da4-3ade-4c67-9321-ce39d4bbe1ca |
| 111 | + method: DELETE |
| 112 | + response: |
| 113 | + body: "" |
| 114 | + headers: |
| 115 | + Content-Security-Policy: |
| 116 | + - default-src 'none'; frame-ancestors 'none' |
| 117 | + Content-Type: |
| 118 | + - application/json |
| 119 | + Date: |
| 120 | + - Mon, 14 Nov 2022 11:22:40 GMT |
| 121 | + Server: |
| 122 | + - Scaleway API-Gateway |
| 123 | + Strict-Transport-Security: |
| 124 | + - max-age=63072000 |
| 125 | + X-Content-Type-Options: |
| 126 | + - nosniff |
| 127 | + X-Frame-Options: |
| 128 | + - DENY |
| 129 | + X-Request-Id: |
| 130 | + - 792c4ded-83ce-43c5-ad56-0f495ac95a34 |
| 131 | + status: 204 No Content |
| 132 | + code: 204 |
| 133 | + duration: "" |
0 commit comments