2022-06-21 17:07:33 +00:00
|
|
|
id: api-segment
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Segment API Test
|
|
|
|
author: geeknik
|
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://reference.segmentapis.com/
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,segment
|
2022-06-21 17:07:33 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-06-21 17:07:33 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET https://platform.segmentapis.com/v1beta/workspaces/myworkspace HTTP/1.1
|
|
|
|
Host: platform.segmentapis.com
|
|
|
|
Authorization: Bearer {{token}}
|
|
|
|
Content-Type: application/json
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"name":'
|
|
|
|
- '"id"'
|
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a004730450221008e895f72ab2b5caad49f2adea23f2d831a5b49d1fa14c51883eda1551a8790a30220137a80371f75fb0553dc708b87f7ecfede6c3a790b242e76c0be42d0729ed081:922c64590222798bb761d5b6d8e72950
|