• SWIFT
  • help
  • press
    enter
    to extend search

create products

  1. create product
  2. open product and assign application(s)
  3. create instance
  4. in instance view, change template_of to created template
  5. in instance view, make a snapshot
  6. 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'].

list all ressources

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, Linchpin, Schulung, Agile Hive 3, Agile Hive (Legacy), Neue Linchpin Demo, Agile Hive (Legacy Jira 8), Agile Hive (Legacy Jira 7), sddfsfds, Base, ssdadsd, sadasdd, JiraHasteNichGesehehn, 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, Agile Hive (Jira 8), Agile Hive (Jira 8), Jira Software, LHWI, bjhambach, Partneronboarding, draw.io, Onboarding - Case Study, Linchpin Service Desk, 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, Jira Software

locale options: de, en

  • frontend
  • auto
  • log out