Project

General

Profile

Download (107 KB) Statistics
| Branch: | Tag: | Revision:
---
http_interactions:
- request:
method: put
uri: http://admin:changeme@centos7-devel.example.com:3000/api/locations/3
body:
encoding: UTF-8
string: '{"location":{"parent_id":null}}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.0p0
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '31'
Host:
- centos7-devel.example.com:3000
response:
status:
code: 200
message: OK
headers:
Foreman-Version:
- 1.14.0-develop
Foreman-Api-Version:
- '2'
Content-Type:
- application/json; charset=utf-8
Apipie-Checksum:
- 974492cde78991fdc7ad9dfcc73ff358
Etag:
- W/"8d07c9840c17c01952ef8f935b822611"
Cache-Control:
- max-age=0, private, must-revalidate
Set-Cookie:
- _session_id=1b9138241dfd777c12d05ebfda6802de; path=/; HttpOnly
- request_method=PUT; path=/
X-Request-Id:
- 44877d51-2e87-4fee-b95b-04dc6485d879
X-Runtime:
- '1.420973'
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'''
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
Transfer-Encoding:
- chunked
body:
encoding: UTF-8
string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-11-19
10:33:36 UTC","updated_at":"2016-11-19 10:33:36 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":3,"name":"Testing","title":"Testing","users":[],"smart_proxies":[],"subnets":[{"id":1,"name":"Test
Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":89,"name":"Katello
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":87,"name":"Katello
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":85,"name":"Katello
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":71,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"Preseed
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":36,"name":"Kickstart
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Junos
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
(mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-11-19
10:33:03 UTC","updated_at":"2016-11-19 10:33:03 UTC","name":"XenServer default","id":84},{"os_family":"Debian","created_at":"2016-11-19
10:33:03 UTC","updated_at":"2016-11-19 10:33:03 UTC","name":"Preseed custom
LVM","id":83},{"os_family":"Debian","created_at":"2016-11-19 10:33:03 UTC","updated_at":"2016-11-19
10:33:03 UTC","name":"Preseed default","id":82},{"os_family":"NXOS","created_at":"2016-11-19
10:33:03 UTC","updated_at":"2016-11-19 10:33:03 UTC","name":"NX-OS default
fake","id":81},{"os_family":"Redhat","created_at":"2016-11-19 10:33:03 UTC","updated_at":"2016-11-19
10:33:03 UTC","name":"Kickstart default","id":80},{"os_family":"Junos","created_at":"2016-11-19
10:33:03 UTC","updated_at":"2016-11-19 10:33:03 UTC","name":"Junos default
fake","id":79},{"os_family":"Solaris","created_at":"2016-11-19 10:33:03 UTC","updated_at":"2016-11-19
10:33:03 UTC","name":"Jumpstart mirrored","id":78},{"os_family":"Solaris","created_at":"2016-11-19
10:33:02 UTC","updated_at":"2016-11-19 10:33:02 UTC","name":"Jumpstart default","id":77},{"os_family":"Freebsd","created_at":"2016-11-19
10:33:02 UTC","updated_at":"2016-11-19 10:33:02 UTC","name":"FreeBSD","id":76},{"os_family":"Coreos","created_at":"2016-11-19
10:33:02 UTC","updated_at":"2016-11-19 10:33:02 UTC","name":"CoreOS default
fake","id":75},{"os_family":"Suse","created_at":"2016-11-19 10:33:02 UTC","updated_at":"2016-11-19
10:33:02 UTC","name":"AutoYaST LVM","id":74},{"os_family":"Suse","created_at":"2016-11-19
10:33:02 UTC","updated_at":"2016-11-19 10:33:02 UTC","name":"AutoYaST entire
virtual disk","id":73},{"os_family":"Suse","created_at":"2016-11-19 10:33:02
UTC","updated_at":"2016-11-19 10:33:02 UTC","name":"AutoYaST entire SCSI disk","id":72}],"provisioning_templates":[{"id":89,"name":"Katello
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":87,"name":"Katello
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":85,"name":"Katello
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":71,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"Preseed
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":36,"name":"Kickstart
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Junos
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
(mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
http_version:
recorded_at: Tue, 22 Nov 2016 10:46:42 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50083/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
response:
status:
code: 200
message: OK
headers:
Date:
- Thu, 01 Dec 2016 19:45:36 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- ab8c72a6-5488-4eaf-b72b-c7db41e7a27e
X-Runtime:
- '0.086645'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"8e3341d0a4cc328651f7391aed11fef8"'
Status:
- 200 OK
Content-Length:
- '66'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=5bd3b80ff77b3766651f35d2d679d8a9; path=/; secure; HttpOnly
body:
encoding: UTF-8
string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
http_version:
recorded_at: Thu, 01 Dec 2016 19:45:44 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50083/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
response:
status:
code: 200
message: OK
headers:
Date:
- Thu, 01 Dec 2016 19:45:36 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- d82a111f-5d41-4539-b7e3-440bfd84b5ff
X-Runtime:
- '0.075841'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '1338'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=510fac5256ebeb78e03010865601fde9; path=/; secure; HttpOnly
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJ0b3RhbCI6IDEwLAogICJzdWJ0b3RhbCI6IDEwLAogICJwYWdlIjog
MSwKICAicGVyX3BhZ2UiOiAyMCwKICAic2VhcmNoIjogbnVsbCwKICAic29y
dCI6IHsKICAgICJieSI6IG51bGwsCiAgICAib3JkZXIiOiBudWxsCiAgfSwK
ICAicmVzdWx0cyI6IFt7ImlkIjoiZm9yZW1hbi10YXNrcyIsIm5hbWUiOiJm
b3JlbWFuLXRhc2tzIiwiYXV0aG9yIjoiSXZhbiBOZcSNYXMiLCJkZXNjcmlw
dGlvbiI6IlRoZSBnb2FsIG9mIHRoaXMgcGx1Z2luIGlzIHRvIHVuaWZ5IHRo
ZSB3YXkgb2Ygc2hvd2luZyB0YXNrIHN0YXR1c2VzIGFjcm9zcyB0aGUgRm9y
ZW1hbiBpbnN0YW5jZS5cbkl0IGRlZmluZXMgVGFzayBtb2RlbCBmb3Iga2Vl
cGluZyB0aGUgaW5mb3JtYXRpb24gYWJvdXQgdGhlIHRhc2tzIGFuZCBMb2Nr
IGZvciBhc3NpZ25pbmcgdGhlIHRhc2tzXG50byByZXNvdXJjZXMuIFRoZSBs
b2NraW5nIGFsbG93cyBkZWFsaW5nIHdpdGggcHJldmVudGluZyBtdWx0aXBs
ZSBjb2xsaWRpbmcgdGFza3MgdG8gYmUgcnVuIG9uIHRoZVxuc2FtZSByZXNv
dXJjZS4gSXQgYWxzbyBvcHRpb25hbGx5IHByb3ZpZGVzIER5bmZsb3cgaW5m
cmFzdHJ1Y3R1cmUgZm9yIHVzaW5nIGl0IGZvciBtYW5hZ2luZyB0aGUgdGFz
a3MuXG4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9m
b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC45In0seyJpZCI6ImZv
cmVtYW5fYm9vdGRpc2siLCJuYW1lIjoiZm9yZW1hbl9ib290ZGlzayIsImF1
dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJkZXNjcmlwdGlvbiI6IlBsdWdpbiBm
b3IgRm9yZW1hbiB0aGF0IGNyZWF0ZXMgaVBYRS1iYXNlZCBib290IGRpc2tz
IHRvIHByb3Zpc2lvbiBob3N0cyB3aXRob3V0IHRoZSBuZWVkIGZvciBQWEUg
aW5mcmFzdHJ1Y3R1cmUuIiwidXJsIjoiaHR0cDovL2dpdGh1Yi5jb20vdGhl
Zm9yZW1hbi9mb3JlbWFuX2Jvb3RkaXNrIiwidmVyc2lvbiI6IjYuMS4wLjMi
fSx7ImlkIjoiZm9yZW1hbl9kaXNjb3ZlcnkiLCJuYW1lIjoiZm9yZW1hbl9k
aXNjb3ZlcnkiLCJhdXRob3IiOiJBbW9zIEJlbmFyaSxCcnlhbiBLZWFybmV5
LENoYWlybWFuVHViZUFtcCxEYW5pZWwgTG9iYXRvIEdhcmPDrWEsRG9taW5p
YyBDbGVhbCxFcmljIEQuIEhlbG1zLEZyYW5rIFdhbGwsR3JlZyBTdXRjbGlm
ZmUsSW1yaSBadmlrLEpvc2VwaCBNaXRjaGVsbCBNYWdlbixMdWthcyBaYXBs
ZXRhbCxMdWvDocWhIFphcGxldGFsLE1hcmVrIEh1bGFuLE1hcnRpbiBCYcSN
b3Zza8O9LE1hdHQgSmFydmlzLE1pY2hhZWwgTW9sbCxOaWNrLE9oYWQgTGV2
eSxPcmkgUmFiaW4sUGV0ciBDaGFsdXBhLFBoaXJpbmNlIFBoaWxpcCxTY3Vi
YWZsb3lkLFNobG9taSBaYWRvayxTdGVwaGVuIEJlbmphbWluLFlhbm4gQ8Op
emFyZCIsImRlc2NyaXB0aW9uIjoiTWFhUyBEaXNjb3ZlcnkgUGx1Z2luIGVu
Z2luZSBmb3IgRm9yZW1hbiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro
ZWZvcmVtYW4vZm9yZW1hbl9kaXNjb3ZlcnkiLCJ2ZXJzaW9uIjoiNS4wLjAu
OSJ9LHsiaWQiOiJmb3JlbWFuX2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2Rv
Y2tlciIsImF1dGhvciI6IkRhbmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwi
ZGVzY3JpcHRpb24iOiJQcm92aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29u
dGFpbmVycyBhbmQgaW1hZ2VzIGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRw
Oi8vZ2l0aHViLmNvbS90aGVmb3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVy
c2lvbiI6IjIuMC4xLjExIn0seyJpZCI6ImZvcmVtYW5faG9va3MiLCJuYW1l
IjoiZm9yZW1hbl9ob29rcyIsImF1dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJk
ZXNjcmlwdGlvbiI6IlBsdWdpbiBlbmdpbmUgZm9yIEZvcmVtYW4gdGhhdCBl
bmFibGVzIHJ1bm5pbmcgY3VzdG9tIGhvb2sgc2NyaXB0cyBvbiBGb3JlbWFu
IGV2ZW50cyIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4v
Zm9yZW1hbl9ob29rcyIsInZlcnNpb24iOiIwLjMuMTEifSx7ImlkIjoiZm9y
ZW1hbl9vcGVuc2NhcCIsIm5hbWUiOiJmb3JlbWFuX29wZW5zY2FwIiwiYXV0
aG9yIjoixaBpbW9uIEx1a2HFocOtayxTaGxvbWkgWmFkb2ssTWFyZWsgSHVs
YW4sT25kcmVqIFByYXphayIsImRlc2NyaXB0aW9uIjoiRm9yZW1hbiBwbHVn
LWluIGZvciBtYW5hZ2luZyBzZWN1cml0eSBjb21wbGlhbmNlIHJlcG9ydHMi
LCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vT3BlblNDQVAvZm9yZW1hbl9v
cGVuc2NhcCIsInZlcnNpb24iOiIwLjUuMy4xOCJ9LHsiaWQiOiJmb3JlbWFu
X3JlbW90ZV9leGVjdXRpb24iLCJuYW1lIjoiZm9yZW1hbl9yZW1vdGVfZXhl
Y3V0aW9uIiwiYXV0aG9yIjoiRm9yZW1hbiBSZW1vdGUgRXhlY3V0aW9uIHRl
YW0iLCJkZXNjcmlwdGlvbiI6IkEgcGx1Z2luIGJyaW5naW5nIHJlbW90ZSBl
eGVjdXRpb24gdG8gdGhlIEZvcmVtYW4sIGNvbXBsZXRpbmcgdGhlIGNvbmZp
ZyBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkgd2l0aCByZW1vdGUgbWFuYWdl
bWVudCBmdW5jdGlvbmFsaXR5LiIsInVybCI6Imh0dHBzOi8vZ2l0aHViLmNv
bS90aGVmb3JlbWFuL2ZvcmVtYW5fcmVtb3RlX2V4ZWN1dGlvbiIsInZlcnNp
b24iOiIwLjMuMC4xMiJ9LHsiaWQiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0
ZSIsIm5hbWUiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsImF1dGhvciI6
IkFsb24gR29sZGJvaW0sIFNoaW1vbiBTdGVpbiIsImRlc2NyaXB0aW9uIjoi
VGhpcyBpcyBhIHBsdWdpbiB0aGF0IGVuYWJsZXMgYnVpbGRpbmcgYSB0aGVt
ZSBmb3IgRm9yZW1hbi4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYWxv
bmdvbGRib2ltL2ZvcmVtYW5fdGhlbWVfc2F0ZWxsaXRlIiwidmVyc2lvbiI6
IjAuMS4zMyJ9LHsiaWQiOiJrYXRlbGxvIiwibmFtZSI6ImthdGVsbG8iLCJh
dXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNvbnRlbnQgYW5kIFN1YnNj
cmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3IgRm9yZW1hbiIsInVybCI6
Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJzaW9uIjoiMy4wLjAuODIi
fSx7ImlkIjoicmVkaGF0X2FjY2VzcyIsIm5hbWUiOiJyZWRoYXRfYWNjZXNz
IiwiYXV0aG9yIjoiTGluZGFuaSBQaGlyaSIsImRlc2NyaXB0aW9uIjoiVGhp
cyBwbHVnaW4gYWRkcyBSZWQgSGF0IEFjY2VzcyBrbm93bGVkZ2UgYmFzZSBz
ZWFyY2gsIGNhc2UgbWFuYWdlbWVudCBhbmQgZGlhZ25vc3RpY3MgdG8gRm9y
ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
http_version:
recorded_at: Thu, 01 Dec 2016 19:45:44 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50083/api/locations?per_page=999999
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Host:
- katello.example.com:50083
response:
status:
code: 200
message: OK
headers:
Date:
- Thu, 01 Dec 2016 19:45:36 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 801f795c-6aed-4f25-b48e-0b2c457357e0
X-Runtime:
- '0.117493'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"f36cb8e6d4b7cb48cfc84b11108b4115-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '1350'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=061a45b3ce65adf693f0951e6e29a693; path=/; secure; HttpOnly
body:
encoding: ASCII-8BIT
string: |
{
"total": 6,
"subtotal": 6,
"page": 1,
"per_page": 999999,
"search": null,
"sort": {
"by": null,
"order": null
},
"results": [{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-01 19:25:05 UTC","updated_at":"2016-12-01 19:25:05 UTC","id":2,"name":"Default Location","title":"Default Location","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-01 19:37:24 UTC","updated_at":"2016-12-01 19:43:57 UTC","id":5,"name":"Test East","title":"Test East","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-01 19:37:23 UTC","updated_at":"2016-12-01 19:43:56 UTC","id":4,"name":"Testing","title":"Testing","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-01 19:37:24 UTC","updated_at":"2016-12-01 19:43:57 UTC","id":6,"name":"Test North","title":"Test North","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-01 19:37:24 UTC","updated_at":"2016-12-01 19:43:57 UTC","id":7,"name":"Test South","title":"Test South","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-01 19:37:25 UTC","updated_at":"2016-12-01 19:43:58 UTC","id":8,"name":"Test West","title":"Test West","description":null}]
}
http_version:
recorded_at: Thu, 01 Dec 2016 19:45:44 GMT
- request:
method: put
uri: https://admin:changeme@katello.example.com:50083/api/locations/4
body:
encoding: UTF-8
string: '{"location":{"parent_id":null}}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '31'
Host:
- katello.example.com:50083
response:
status:
code: 200
message: OK
headers:
Date:
- Thu, 01 Dec 2016 19:45:36 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 6fec48a2-f831-4f1c-be4b-87250bfc3579
X-Runtime:
- '0.245706'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"f7c0afa550401917026959c7818dd972-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '13279'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=cff9ccba1d8e1bd85bf2a3faeec095c8; path=/; secure; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-01
19:37:23 UTC","updated_at":"2016-12-01 19:45:36 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":4,"name":"Testing","title":"Testing","users":[],"smart_proxies":[],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-01
19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire
SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-01 19:25:07
UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire virtual
disk","id":55},{"os_family":"Suse","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
19:25:07 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-01
19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"CoreOS default
fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
19:25:07 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-01
19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Junos default
fake","id":64},{"os_family":"Redhat","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
19:25:08 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"NX-OS default
fake","id":65},{"os_family":"Debian","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
19:25:08 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
http_version:
recorded_at: Thu, 01 Dec 2016 19:45:44 GMT
- request:
method: put
uri: https://admin:changeme@katello.example.com:50083/api/locations/5
body:
encoding: UTF-8
string: '{"location":{"parent_id":null}}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '31'
Host:
- katello.example.com:50083
response:
status:
code: 200
message: OK
headers:
Date:
- Thu, 01 Dec 2016 19:45:37 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- faf62a22-2ad0-498c-b90e-20e428a46a51
X-Runtime:
- '0.262650'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"b618d3b20c1eb9238a136ea83a2f77bf-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '13283'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=481b8ec0cb1bf618b465be06c622720b; path=/; secure; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-01
19:37:24 UTC","updated_at":"2016-12-01 19:45:37 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":5,"name":"Test
East","title":"Test East","users":[],"smart_proxies":[],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-01
19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire
SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-01 19:25:07
UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire virtual
disk","id":55},{"os_family":"Suse","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
19:25:07 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-01
19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"CoreOS default
fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
19:25:07 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-01
19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Junos default
fake","id":64},{"os_family":"Redhat","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
19:25:08 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"NX-OS default
fake","id":65},{"os_family":"Debian","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
19:25:08 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
http_version:
recorded_at: Thu, 01 Dec 2016 19:45:44 GMT
- request:
method: put
uri: https://admin:changeme@katello.example.com:50083/api/locations/6
body:
encoding: UTF-8
string: '{"location":{"parent_id":null}}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '31'
Host:
- katello.example.com:50083
response:
status:
code: 200
message: OK
headers:
Date:
- Thu, 01 Dec 2016 19:45:37 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- c5995df2-d3b4-4162-8b69-066940b6ff23
X-Runtime:
- '0.296043'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"2d4702afb4582c52391bcb03327a4f3c-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '13285'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=e85e0f69d516b0cab1039d8c3117e1dc; path=/; secure; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-01
19:37:24 UTC","updated_at":"2016-12-01 19:45:37 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":6,"name":"Test
North","title":"Test North","users":[],"smart_proxies":[],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-01
19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire
SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-01 19:25:07
UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire virtual
disk","id":55},{"os_family":"Suse","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
19:25:07 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-01
19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"CoreOS default
fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
19:25:07 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-01
19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Junos default
fake","id":64},{"os_family":"Redhat","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
19:25:08 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"NX-OS default
fake","id":65},{"os_family":"Debian","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
19:25:08 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
http_version:
recorded_at: Thu, 01 Dec 2016 19:45:45 GMT
- request:
method: put
uri: https://admin:changeme@katello.example.com:50083/api/locations/7
body:
encoding: UTF-8
string: '{"location":{"parent_id":null}}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '31'
Host:
- katello.example.com:50083
response:
status:
code: 200
message: OK
headers:
Date:
- Thu, 01 Dec 2016 19:45:37 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 90f2f545-38c9-453f-957f-fa4e159648ac
X-Runtime:
- '0.327911'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"d36d96628ea65945f097433e940a209a-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '13285'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=2c6a2476d1947b7f9aa83094d02d9ead; path=/; secure; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-01
19:37:24 UTC","updated_at":"2016-12-01 19:45:37 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":7,"name":"Test
South","title":"Test South","users":[],"smart_proxies":[],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-01
19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire
SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-01 19:25:07
UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire virtual
disk","id":55},{"os_family":"Suse","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
19:25:07 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-01
19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"CoreOS default
fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
19:25:07 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-01
19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Junos default
fake","id":64},{"os_family":"Redhat","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
19:25:08 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"NX-OS default
fake","id":65},{"os_family":"Debian","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
19:25:08 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
http_version:
recorded_at: Thu, 01 Dec 2016 19:45:45 GMT
- request:
method: put
uri: https://admin:changeme@katello.example.com:50083/api/locations/8
body:
encoding: UTF-8
string: '{"location":{"parent_id":null}}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '31'
Host:
- katello.example.com:50083
response:
status:
code: 200
message: OK
headers:
Date:
- Thu, 01 Dec 2016 19:45:38 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 5dad15d3-f245-4569-a5c3-ff80c84c3521
X-Runtime:
- '0.324117'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"e467c8b74644d06e614c3da89f796b42-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '13283'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=c664038e9ead47c52c2927fbc04400eb; path=/; secure; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-01
19:37:25 UTC","updated_at":"2016-12-01 19:45:38 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
West","title":"Test West","users":[],"smart_proxies":[],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-01
19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire
SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-01 19:25:07
UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire virtual
disk","id":55},{"os_family":"Suse","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
19:25:07 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-01
19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"CoreOS default
fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
19:25:07 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-01
19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Junos default
fake","id":64},{"os_family":"Redhat","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
19:25:08 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"NX-OS default
fake","id":65},{"os_family":"Debian","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
19:25:08 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-01
19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
http_version:
recorded_at: Thu, 01 Dec 2016 19:45:46 GMT
recorded_with: VCR 3.0.3
    (1-1/1)