1
1
interactions :
2
2
- request :
3
- body : ' {"data":{"attributes":{"enabled":false,"forward_tags":false,"forward_tags_restriction_list":["host"],"forward_tags_restriction_list_type":"BLOCK_LIST","forwarder_destination":{"auth":{"password":"my-password","type":"basic","username":"my-username"},"endpoint":"https://example.com","type":"http"},"name":"Test-Update_a_custom_destination_returns_OK_response-1710235218 ","query":"source:nginx"},"type":"custom_destination"}}'
3
+ body : ' {"data":{"attributes":{"enabled":false,"forward_tags":false,"forward_tags_restriction_list":["host"],"forward_tags_restriction_list_type":"BLOCK_LIST","forwarder_destination":{"auth":{"password":"my-password","type":"basic","username":"my-username"},"endpoint":"https://example.com","type":"http"},"name":"Test-Update_a_custom_destination_returns_OK_response-1712345501 ","query":"source:nginx"},"type":"custom_destination"}}'
4
4
headers :
5
5
accept :
6
6
- application/json
@@ -10,7 +10,7 @@ interactions:
10
10
uri : https://api.datadoghq.com/api/v2/logs/config/custom-destinations
11
11
response :
12
12
body :
13
- string : ' {"data":{"id":"22ce0782-a48f-4340-98f5-fd3671b66e19 ","attributes":{"name":"Test-Update_a_custom_destination_returns_OK_response-1710235218 ","query":"source:nginx","enabled":false,"forwarder_destination":{"endpoint":"https://example.com","auth":{"type":"basic"},"type":"http"},"forward_tags_restriction_list_type":"BLOCK_LIST","forward_tags_restriction_list":["host"],"forward_tags":false},"type":"custom_destination"}}
13
+ string : ' {"data":{"id":"60f4b01e-7853-4d48-8f6d-b98802dca889 ","attributes":{"name":"Test-Update_a_custom_destination_returns_OK_response-1712345501 ","query":"source:nginx","enabled":false,"forwarder_destination":{"endpoint":"https://example.com","auth":{"type":"basic"},"type":"http"},"forward_tags_restriction_list_type":"BLOCK_LIST","forward_tags_restriction_list":["host"],"forward_tags":false},"type":"custom_destination"}}
14
14
15
15
'
16
16
headers :
@@ -20,17 +20,18 @@ interactions:
20
20
code : 200
21
21
message : OK
22
22
- request :
23
- body : ' {"data":{"attributes":{"name":"Nginx logs (Updated)"},"id":"22ce0782-a48f-4340-98f5-fd3671b66e19","type":"custom_destination"}}'
23
+ body : ' {"data":{"attributes":{"enabled":false,"forward_tags":false,"forward_tags_restriction_list_type":"BLOCK_LIST","name":"Nginx
24
+ logs (Updated)","query":"source:nginx"},"id":"60f4b01e-7853-4d48-8f6d-b98802dca889","type":"custom_destination"}}'
24
25
headers :
25
26
accept :
26
27
- application/json
27
28
content-type :
28
29
- application/json
29
30
method : PATCH
30
- uri : https://api.datadoghq.com/api/v2/logs/config/custom-destinations/22ce0782-a48f-4340-98f5-fd3671b66e19
31
+ uri : https://api.datadoghq.com/api/v2/logs/config/custom-destinations/60f4b01e-7853-4d48-8f6d-b98802dca889
31
32
response :
32
33
body :
33
- string : ' {"data":{"id":"22ce0782-a48f-4340-98f5-fd3671b66e19 ","attributes":{"name":"Nginx
34
+ string : ' {"data":{"id":"60f4b01e-7853-4d48-8f6d-b98802dca889 ","attributes":{"name":"Nginx
34
35
logs (Updated)","query":"source:nginx","enabled":false,"forwarder_destination":{"endpoint":"https://example.com","auth":{"type":"basic"},"type":"http"},"forward_tags_restriction_list_type":"BLOCK_LIST","forward_tags_restriction_list":["host"],"forward_tags":false},"type":"custom_destination"}}
35
36
36
37
'
@@ -46,7 +47,7 @@ interactions:
46
47
accept :
47
48
- ' */*'
48
49
method : DELETE
49
- uri : https://api.datadoghq.com/api/v2/logs/config/custom-destinations/22ce0782-a48f-4340-98f5-fd3671b66e19
50
+ uri : https://api.datadoghq.com/api/v2/logs/config/custom-destinations/60f4b01e-7853-4d48-8f6d-b98802dca889
50
51
response :
51
52
body :
52
53
string : ' '
0 commit comments