184 lines
8.0 KiB
Plaintext
184 lines
8.0 KiB
Plaintext
GET /v1/hosts?includeCounts=true&pageSize=25&filter%5BisLighthouse%5D=true HTTP/2
|
|
Host: api.defined.net
|
|
Sec-Ch-Ua: "Chromium";v="109", "Not_A Brand";v="99"
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Sec-Ch-Ua-Mobile: ?0
|
|
Authorization: Bearer sess-CcSodB65KzkdJuPzdp-A-vdDx2P-Vxsynpk_LTGPUmw auth-O7mugxdYta-RKtLMqDW4j8XCJ85EfZKKezeZZXBYtFQ
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.75 Safari/537.36
|
|
Sec-Ch-Ua-Platform: "Linux"
|
|
Origin: https://admin.defined.net
|
|
Sec-Fetch-Site: same-site
|
|
Sec-Fetch-Mode: cors
|
|
Sec-Fetch-Dest: empty
|
|
Accept-Encoding: gzip, deflate
|
|
Accept-Language: en-US,en;q=0.9
|
|
|
|
HTTP/2 200 OK
|
|
Access-Control-Allow-Credentials: true
|
|
Access-Control-Allow-Origin: https://admin.defined.net
|
|
Access-Control-Expose-Headers: X-Request-Id
|
|
Cache-Control: no-store
|
|
Content-Security-Policy: default-src 'none'
|
|
Content-Type: application/json; charset=utf-8
|
|
Strict-Transport-Security: max-age=31536000; includeSubdomains
|
|
Vary: Origin
|
|
X-Content-Type-Options: nosniff
|
|
X-Frame-Options: DENY
|
|
X-Request-Id: UQV7FNQM7RTK327VAEJYJML3RI
|
|
Content-Length: 69
|
|
Date: Fri, 03 Feb 2023 15:30:00 GMT
|
|
|
|
{"data":[],"metadata":{"totalCount":0,"page":{"start":0,"count":0}}}
|
|
|
|
POST /v1/hosts HTTP/2
|
|
Host: api.defined.net
|
|
Content-Length: 202
|
|
Sec-Ch-Ua: "Chromium";v="109", "Not_A Brand";v="99"
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Sec-Ch-Ua-Mobile: ?0
|
|
Authorization: Bearer sess-CcSodB65KzkdJuPzdp-A-vdDx2P-Vxsynpk_LTGPUmw auth-O7mugxdYta-RKtLMqDW4j8XCJ85EfZKKezeZZXBYtFQ
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.75 Safari/537.36
|
|
Sec-Ch-Ua-Platform: "Linux"
|
|
Origin: https://admin.defined.net
|
|
Sec-Fetch-Site: same-site
|
|
Sec-Fetch-Mode: cors
|
|
Sec-Fetch-Dest: empty
|
|
Accept-Encoding: gzip, deflate
|
|
Accept-Language: en-US,en;q=0.9
|
|
|
|
{"networkID":"network-SQC5D2FCFI7SQEV24VNIIV6ORI","name":"testhouse","listenPort":4242,"staticAddresses":["4.3.2.1:4242"],"isLighthouse":true,"roleID":"role-PLK37J7HFPGUG7SMXD4SB65A5U","ipAddress":null}
|
|
|
|
HTTP/2 200 OK
|
|
Access-Control-Allow-Credentials: true
|
|
Access-Control-Allow-Origin: https://admin.defined.net
|
|
Access-Control-Expose-Headers: X-Request-Id
|
|
Cache-Control: no-store
|
|
Content-Security-Policy: default-src 'none'
|
|
Content-Type: application/json; charset=utf-8
|
|
Strict-Transport-Security: max-age=31536000; includeSubdomains
|
|
Vary: Origin
|
|
X-Content-Type-Options: nosniff
|
|
X-Frame-Options: DENY
|
|
X-Request-Id: FT63YQUXPBJK4Q3M6RLXEUHH3A
|
|
Content-Length: 391
|
|
Date: Fri, 03 Feb 2023 15:32:59 GMT
|
|
|
|
{"data":{"id":"host-33MGY37MVYNTXUJ7RKHJNWZVWI","organizationID":"org-4QN6JAFFP6QKV2ZY75Z6MGKDGQ","networkID":"network-SQC5D2FCFI7SQEV24VNIIV6ORI","roleID":"role-PLK37J7HFPGUG7SMXD4SB65A5U","name":"testhouse","ipAddress":"10.16.0.1","staticAddresses":["4.3.2.1:4242"],"listenPort":4242,"isLighthouse":true,"isRelay":false,"createdAt":"2023-02-03T15:32:59Z","isBlocked":false},"metadata":{}}
|
|
|
|
GET /v1/hosts?includeCounts=true&pageSize=25&filter%5BisLighthouse%5D=true HTTP/2
|
|
Host: api.defined.net
|
|
Sec-Ch-Ua: "Chromium";v="109", "Not_A Brand";v="99"
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Sec-Ch-Ua-Mobile: ?0
|
|
Authorization: Bearer sess-CcSodB65KzkdJuPzdp-A-vdDx2P-Vxsynpk_LTGPUmw auth-O7mugxdYta-RKtLMqDW4j8XCJ85EfZKKezeZZXBYtFQ
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.75 Safari/537.36
|
|
Sec-Ch-Ua-Platform: "Linux"
|
|
Origin: https://admin.defined.net
|
|
Sec-Fetch-Site: same-site
|
|
Sec-Fetch-Mode: cors
|
|
Sec-Fetch-Dest: empty
|
|
Accept-Encoding: gzip, deflate
|
|
Accept-Language: en-US,en;q=0.9
|
|
|
|
HTTP/2 200 OK
|
|
Access-Control-Allow-Credentials: true
|
|
Access-Control-Allow-Origin: https://admin.defined.net
|
|
Access-Control-Expose-Headers: X-Request-Id
|
|
Cache-Control: no-store
|
|
Content-Security-Policy: default-src 'none'
|
|
Content-Type: application/json; charset=utf-8
|
|
Strict-Transport-Security: max-age=31536000; includeSubdomains
|
|
Vary: Origin
|
|
X-Content-Type-Options: nosniff
|
|
X-Frame-Options: DENY
|
|
X-Request-Id: QXHNKJVABDOXVPBP4FK4CUBW3Q
|
|
Content-Length: 436
|
|
Date: Fri, 03 Feb 2023 15:38:06 GMT
|
|
|
|
{"data":[{"id":"host-33MGY37MVYNTXUJ7RKHJNWZVWI","organizationID":"org-4QN6JAFFP6QKV2ZY75Z6MGKDGQ","networkID":"network-SQC5D2FCFI7SQEV24VNIIV6ORI","roleID":"role-PLK37J7HFPGUG7SMXD4SB65A5U","name":"testhouse","ipAddress":"10.16.0.1","staticAddresses":["4.3.2.1:4242"],"listenPort":4242,"isLighthouse":true,"isRelay":false,"createdAt":"2023-02-03T15:32:59Z","isBlocked":false}],"metadata":{"totalCount":1,"page":{"start":0,"count":1}}}
|
|
|
|
GET /v1/hosts?includeCounts=true&pageSize=25&filter%5BisLighthouse%5D=false&filter%5BisRelay%5D=false HTTP/2
|
|
Host: api.defined.net
|
|
Sec-Ch-Ua: "Chromium";v="109", "Not_A Brand";v="99"
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Sec-Ch-Ua-Mobile: ?0
|
|
Authorization: Bearer sess-CcSodB65KzkdJuPzdp-A-vdDx2P-Vxsynpk_LTGPUmw auth-O7mugxdYta-RKtLMqDW4j8XCJ85EfZKKezeZZXBYtFQ
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.75 Safari/537.36
|
|
Sec-Ch-Ua-Platform: "Linux"
|
|
Origin: https://admin.defined.net
|
|
Sec-Fetch-Site: same-site
|
|
Sec-Fetch-Mode: cors
|
|
Sec-Fetch-Dest: empty
|
|
Accept-Encoding: gzip, deflate
|
|
Accept-Language: en-US,en;q=0.9
|
|
|
|
GET /v1/hosts?includeCounts=true&pageSize=25&filter%5BisRelay%5D=true&filter%5BisLighthouse%5D=false HTTP/2
|
|
Host: api.defined.net
|
|
Sec-Ch-Ua: "Chromium";v="109", "Not_A Brand";v="99"
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Sec-Ch-Ua-Mobile: ?0
|
|
Authorization: Bearer sess-CcSodB65KzkdJuPzdp-A-vdDx2P-Vxsynpk_LTGPUmw auth-O7mugxdYta-RKtLMqDW4j8XCJ85EfZKKezeZZXBYtFQ
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.75 Safari/537.36
|
|
Sec-Ch-Ua-Platform: "Linux"
|
|
Origin: https://admin.defined.net
|
|
Sec-Fetch-Site: same-site
|
|
Sec-Fetch-Mode: cors
|
|
Sec-Fetch-Dest: empty
|
|
Accept-Encoding: gzip, deflate
|
|
Accept-Language: en-US,en;q=0.9
|
|
|
|
HTTP/2 200 OK
|
|
Access-Control-Allow-Credentials: true
|
|
Access-Control-Allow-Origin: https://admin.defined.net
|
|
Access-Control-Expose-Headers: X-Request-Id
|
|
Cache-Control: no-store
|
|
Content-Security-Policy: default-src 'none'
|
|
Content-Type: application/json; charset=utf-8
|
|
Strict-Transport-Security: max-age=31536000; includeSubdomains
|
|
Vary: Origin
|
|
X-Content-Type-Options: nosniff
|
|
X-Frame-Options: DENY
|
|
X-Request-Id: JBPJUT2YLPHDJHG6EKL5NN672A
|
|
Content-Length: 69
|
|
Date: Fri, 03 Feb 2023 15:42:20 GMT
|
|
|
|
{"data":[],"metadata":{"totalCount":0,"page":{"start":0,"count":0}}}
|
|
|
|
GET /v1/hosts?includeCounts=true&pageSize=25&filter%5BisLighthouse%5D=true HTTP/2
|
|
Host: api.defined.net
|
|
Sec-Ch-Ua: "Chromium";v="109", "Not_A Brand";v="99"
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Sec-Ch-Ua-Mobile: ?0
|
|
Authorization: Bearer sess-CcSodB65KzkdJuPzdp-A-vdDx2P-Vxsynpk_LTGPUmw auth-O7mugxdYta-RKtLMqDW4j8XCJ85EfZKKezeZZXBYtFQ
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.75 Safari/537.36
|
|
Sec-Ch-Ua-Platform: "Linux"
|
|
Origin: https://admin.defined.net
|
|
Sec-Fetch-Site: same-site
|
|
Sec-Fetch-Mode: cors
|
|
Sec-Fetch-Dest: empty
|
|
Accept-Encoding: gzip, deflate
|
|
Accept-Language: en-US,en;q=0.9
|
|
|
|
HTTP/2 200 OK
|
|
Access-Control-Allow-Credentials: true
|
|
Access-Control-Allow-Origin: https://admin.defined.net
|
|
Access-Control-Expose-Headers: X-Request-Id
|
|
Cache-Control: no-store
|
|
Content-Security-Policy: default-src 'none'
|
|
Content-Type: application/json; charset=utf-8
|
|
Strict-Transport-Security: max-age=31536000; includeSubdomains
|
|
Vary: Origin
|
|
X-Content-Type-Options: nosniff
|
|
X-Frame-Options: DENY
|
|
X-Request-Id: 4BDEKPZJAN6LC2EYFRNIJZZBWI
|
|
Content-Length: 436
|
|
Date: Fri, 03 Feb 2023 15:42:59 GMT
|
|
|
|
{"data":[{"id":"host-33MGY37MVYNTXUJ7RKHJNWZVWI","organizationID":"org-4QN6JAFFP6QKV2ZY75Z6MGKDGQ","networkID":"network-SQC5D2FCFI7SQEV24VNIIV6ORI","roleID":"role-PLK37J7HFPGUG7SMXD4SB65A5U","name":"testhouse","ipAddress":"10.16.0.1","staticAddresses":["4.3.2.1:4242"],"listenPort":4242,"isLighthouse":true,"isRelay":false,"createdAt":"2023-02-03T15:32:59Z","isBlocked":false}],"metadata":{"totalCount":1,"page":{"start":0,"count":1}}}
|