|
---
|
|
http_interactions:
|
|
- request:
|
|
method: get
|
|
uri: https://admin:changeme@centos7-devel.example.com/api/status
|
|
body:
|
|
encoding: US-ASCII
|
|
string: ''
|
|
headers:
|
|
Accept-Encoding:
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
Accept:
|
|
- "*/*"
|
|
User-Agent:
|
|
- Ruby
|
|
Host:
|
|
- centos7-devel.example.com
|
|
response:
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
headers:
|
|
Date:
|
|
- Fri, 09 Jun 2017 17:06:13 GMT
|
|
Server:
|
|
- Apache/2.4.6 (CentOS)
|
|
Foreman-Version:
|
|
- 1.16.0-develop
|
|
Foreman-Api-Version:
|
|
- '2'
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
Apipie-Checksum:
|
|
- 801a7a10d05883b9611f929d3ab6042d
|
|
Etag:
|
|
- W/"daee39b3fc9265eda63ba5b269a33b30-gzip"
|
|
Cache-Control:
|
|
- max-age=0, private, must-revalidate
|
|
X-Request-Id:
|
|
- 372a77c8-7d1a-4974-8122-ef23fc6ccb16
|
|
X-Runtime:
|
|
- '0.120927'
|
|
Content-Security-Policy:
|
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
|
''self''; style-src ''unsafe-inline'' ''self'''
|
|
Strict-Transport-Security:
|
|
- max-age=631152000; includeSubdomains
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
X-Download-Options:
|
|
- noopen
|
|
X-Frame-Options:
|
|
- sameorigin
|
|
X-Permitted-Cross-Domain-Policies:
|
|
- none
|
|
X-Xss-Protection:
|
|
- 1; mode=block
|
|
Set-Cookie:
|
|
- _session_id=6df6a6e602d062941ac849f332a5dacd; path=/; HttpOnly
|
|
Via:
|
|
- 1.1 centos7-devel.example.com
|
|
Vary:
|
|
- Accept-Encoding
|
|
Content-Length:
|
|
- '81'
|
|
Connection:
|
|
- close
|
|
body:
|
|
encoding: ASCII-8BIT
|
|
string: '{"result":"ok","status":200,"version":"1.16.0-develop","api_version":2}'
|
|
http_version:
|
|
recorded_at: Fri, 09 Jun 2017 17:06:14 GMT
|
|
- request:
|
|
method: get
|
|
uri: https://admin:changeme@centos7-devel.example.com/api/v2/plugins
|
|
body:
|
|
encoding: US-ASCII
|
|
string: ''
|
|
headers:
|
|
Accept-Encoding:
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
Accept:
|
|
- "*/*"
|
|
User-Agent:
|
|
- Ruby
|
|
Host:
|
|
- centos7-devel.example.com
|
|
response:
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
headers:
|
|
Date:
|
|
- Fri, 09 Jun 2017 17:06:14 GMT
|
|
Server:
|
|
- Apache/2.4.6 (CentOS)
|
|
Foreman-Version:
|
|
- 1.16.0-develop
|
|
Foreman-Api-Version:
|
|
- '2'
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
Apipie-Checksum:
|
|
- 801a7a10d05883b9611f929d3ab6042d
|
|
Etag:
|
|
- W/"95fd6e562dda24aea3ba5cd3ff59001d-gzip"
|
|
Cache-Control:
|
|
- max-age=0, private, must-revalidate
|
|
X-Request-Id:
|
|
- 6278c85c-f202-4f32-b892-ad9aa372a7d1
|
|
X-Runtime:
|
|
- '0.119387'
|
|
Content-Security-Policy:
|
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
|
''self''; style-src ''unsafe-inline'' ''self'''
|
|
Strict-Transport-Security:
|
|
- max-age=631152000; includeSubdomains
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
X-Download-Options:
|
|
- noopen
|
|
X-Frame-Options:
|
|
- sameorigin
|
|
X-Permitted-Cross-Domain-Policies:
|
|
- none
|
|
X-Xss-Protection:
|
|
- 1; mode=block
|
|
Set-Cookie:
|
|
- _session_id=bb54dd5e32e14600f8b08425abfe651b; path=/; HttpOnly
|
|
Via:
|
|
- 1.1 centos7-devel.example.com
|
|
Vary:
|
|
- Accept-Encoding
|
|
Content-Length:
|
|
- '566'
|
|
Connection:
|
|
- close
|
|
body:
|
|
encoding: ASCII-8BIT
|
|
string: !binary |-
|
|
ewogICJ0b3RhbCI6IDMsCiAgInN1YnRvdGFsIjogMywKICAicGFnZSI6IDEs
|
|
CiAgInBlcl9wYWdlIjogMjAsCiAgInNlYXJjaCI6IG51bGwsCiAgInNvcnQi
|
|
OiB7CiAgICAiYnkiOiBudWxsLAogICAgIm9yZGVyIjogbnVsbAogIH0sCiAg
|
|
InJlc3VsdHMiOiBbeyJpZCI6ImZvcmVtYW4tdGFza3MiLCJuYW1lIjoiZm9y
|
|
ZW1hbi10YXNrcyIsImF1dGhvciI6Ikl2YW4gTmXEjWFzIiwiZGVzY3JpcHRp
|
|
b24iOiJUaGUgZ29hbCBvZiB0aGlzIHBsdWdpbiBpcyB0byB1bmlmeSB0aGUg
|
|
d2F5IG9mIHNob3dpbmcgdGFzayBzdGF0dXNlcyBhY3Jvc3MgdGhlIEZvcmVt
|
|
YW4gaW5zdGFuY2UuXG5JdCBkZWZpbmVzIFRhc2sgbW9kZWwgZm9yIGtlZXBp
|
|
bmcgdGhlIGluZm9ybWF0aW9uIGFib3V0IHRoZSB0YXNrcyBhbmQgTG9jayBm
|
|
b3IgYXNzaWduaW5nIHRoZSB0YXNrc1xudG8gcmVzb3VyY2VzLiBUaGUgbG9j
|
|
a2luZyBhbGxvd3MgZGVhbGluZyB3aXRoIHByZXZlbnRpbmcgbXVsdGlwbGUg
|
|
Y29sbGlkaW5nIHRhc2tzIHRvIGJlIHJ1biBvbiB0aGVcbnNhbWUgcmVzb3Vy
|
|
Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
|
|
c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHR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