create products
- create product
- open product and assign application(s)
- create instance
- in instance view, change template_of to created template
- in instance view, make a snapshot
- new instances from the product can now be made
only admins can make products public
json rest api
Create api keys and manage swift via http. All paths and actions accessible via html are also accessible via json.
- per_page and page: Paginate index views.
- associations: A list of associations to be included into the answer. Available options can be found under ['meta']['associations'].
create instance
If snapshot_name is missing, the most recent one will be chosen.
curl -X POST http://swift.seibert-media.net/instances \ -H "X-Api-Key: WXY2b...VlQT0=" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d '{ "instance": { "name": "test436346", "product_name": "Confluence", "snapshot_name": "6.15.7", "customer_email": "aasd@dfas.de", "trial_days": 14, "instance_credentials_attributes": [ { "username": "admin", "password": "SUPERGEHEIM" } ] } }'
response
{ "status": "success", "meta": { "status_code": 200, "status_name": "OK" "message": null }, "data": { "id": 16, "external_id": "WVZUaUd5R0NBUkJoOHk5b...1kcW9IeU1uUk9FM1RuVT0=", "name": "daftew4wst436346", "domain": "daftew4wst436346.swift-wiki.net", "server_type_id": 2, "customer_email": "aasd@dfas.de", "expires_at": "2019-10-05T20:44:59.113Z", "disk_size": 40, "webfs_password": "SWlvTWpkMEV4UHd...hNQ1QvNXdFa2RIcDlLTT0=", ... "setup_task": { "progress_percent": 100, } } }
get instance and include snapshots and health
curl -X GET http://swift.seibert-media.net/instances/16?associations[]=snapshots&methods[]=health \ -H "X-Api-Key: WXY2b...VlQT0=" \ -H "Accept: application/json"
response
{ "data": { "id": 16, "snapshots": [ ... ], "health": { "ram": "critical", }, ... } }
get instances with pagination
curl -X GET http://swift.seibert-media.net/instances?per_page=5&page=2 \ -H "X-Api-Key: WXY2b...VlQT0=" \ -H "Accept: application/json"
response
{ "data": [ { "id": 16, ... }, ... ] }
iframe
https://swift.seibert-media.net/iframe?product=Jira Core&locale=en
product options: Blueprint Creator, Autopage, schulung, Schulung, Neue Linchpin Demo, sddfsfds, ssdadsd, sadasdd, Bacondoener, phos kartoffelsalat, Jira Service Desk, täst, test_test, olayan-test, demo-test, olayan-test, asdasdadsasdasd, asdasdadsasdasd, Bacondoener, Jira Multiprojekt Management (intern), Test pho, Aura Live Demo, Linchpin Essentials, Jira Software, LHWI, bjhambach, Onboarding - Case Study, Linchpin Service Desk, Linchpin (Service Desk UseCase), schulung-confluence, LaaS, Linchpin SaaS, Blueprint, Confluence, Jira Service Desk Demo System, wibas Template, Bitbucket, test, Linchpin Onlineschulung, Jira Core, JiraHasteNichGesehehn, Agile Hive 3, crowd, Agile Hive (Jira 8), Agile Hive (Jira 8), Agile Hive (Legacy Jira 7), Agile Hive (Legacy Jira 8), Agile Hive (Legacy), Linchpin + Service Desk, Partneronboarding, Base, draw.io, Jira Software, Linchpin, mehmet.bueyuecek
locale options: de, en