|
---
|
|
recorded_with: VCR 2.2.5
|
|
http_interactions:
|
|
- request:
|
|
method: post
|
|
uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/events/
|
|
body:
|
|
string: "{\"notifier_type_id\":\"rest-api\",\"event_types\":[\"repo.publish.finish\"],\"notifier_config\":{\"url\":\"http://foo.com/foo/\"}}"
|
|
headers:
|
|
Accept:
|
|
- application/json
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Content-Type:
|
|
- application/json
|
|
Content-Length:
|
|
- "117"
|
|
response:
|
|
status:
|
|
code: 201
|
|
message: Created
|
|
headers:
|
|
Location:
|
|
- /pulp/api/v2/events/50888bf9dc7921558d00159d/
|
|
Date:
|
|
- Thu, 25 Oct 2012 00:46:49 GMT
|
|
Content-Type:
|
|
- application/json
|
|
Content-Length:
|
|
- "286"
|
|
Server:
|
|
- Apache/2.2.22 (Fedora)
|
|
body:
|
|
string: "{\"notifier_config\": {\"url\": \"http://foo.com/foo/\"}, \"_ns\": \"event_listeners\", \"event_types\": [\"repo.publish.finish\"], \"_id\": {\"$oid\": \"50888bf9dc7921558d00159d\"}, \"id\": \"50888bf9dc7921558d00159d\", \"notifier_type_id\": \"rest-api\", \"_href\": \"/pulp/api/v2/events/50888bf9dc7921558d00159d/\"}"
|
|
http_version:
|
|
recorded_at: Thu, 25 Oct 2012 00:46:49 GMT
|
|
- request:
|
|
method: delete
|
|
uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/events/50888bf9dc7921558d00159d/
|
|
body:
|
|
string: ""
|
|
headers:
|
|
Accept:
|
|
- application/json
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Content-Type:
|
|
- application/json
|
|
response:
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
headers:
|
|
Date:
|
|
- Thu, 25 Oct 2012 00:46:50 GMT
|
|
Content-Type:
|
|
- application/json
|
|
Content-Length:
|
|
- "4"
|
|
Server:
|
|
- Apache/2.2.22 (Fedora)
|
|
body:
|
|
string: "null"
|
|
http_version:
|
|
recorded_at: Thu, 25 Oct 2012 00:46:50 GMT
|
|
- request:
|
|
method: get
|
|
uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/events/
|
|
body:
|
|
string: ""
|
|
headers:
|
|
Accept:
|
|
- application/json
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Content-Type:
|
|
- application/json
|
|
response:
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
headers:
|
|
Date:
|
|
- Thu, 25 Oct 2012 00:46:50 GMT
|
|
Content-Type:
|
|
- application/json
|
|
Content-Length:
|
|
- "245"
|
|
Server:
|
|
- Apache/2.2.22 (Fedora)
|
|
body:
|
|
string: "[{\"notifier_config\": {\"url\": null}, \"_ns\": \"event_listeners\", \"event_types\": [\"repo-sync-finished\"], \"_id\": {\"$oid\": \"5071542adc79215650000039\"}, \"id\": \"5071542adc79215650000039\", \"notifier_type_id\": \"rest-api\", \"_href\": \"/pulp/api/v2/events/\"}]"
|
|
http_version:
|
|
recorded_at: Thu, 25 Oct 2012 00:46:50 GMT
|