Skip to content
Hypermedia client for Bazapta
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib/bazapta
.gitignore
Gemfile
README.md
udev_175-0ubuntu9.1_i386.deb

README.md

bazapta-client

Hypermedia client for Bazapta

OPTIONS /
Allow: GET
{
  "@context": {
    "@type": "/terms/Dist",
    "@list": true
  }
}

GET /
[
  {
    "Name": "squeeze",
    "Url": "/dists/squeeze"
  }
]

OPTIONS /dists/squeeze
Allow: GET,POST
Accept: application/x-deb
{
  "@context": {
    "@type": "/terms/Dist"
  }
}


GET /dists/squeeze
{
  "Name": "squeeze",
  "Url": "/dists/squeeze",
  "Packages": [
    {
      "Component": "main",
      "Arch": "amd64",
      "Name": "3ware-cli-binary",
      "Version": "10.0-1duo1",
      "Url": "/dists/squeeze/main/udev_175-0ubuntu9.1_i386",
      "DownloadUrl": "/dists/squeeze/main/udev_175-0ubuntu9.1_i386.deb"
    }
  ]
}

POST /dists/squeeze
<udev_175-0ubuntu9.1_i386.deb>
Location: /dists/squeeze/main/udev_175-0ubuntu9.1_i386.deb


OPTIONS /dists/squeeze/main/udev_175-0ubuntu9.1_i386.deb
Allow: GET,DELETE

GET /dists/squeeze/main/udev_175-0ubuntu9.1_i386.deb
{
  "Dist": {
    "Name": "squeeze"
    "Url": "/dists/squeeze"
  },
  "Component": "main",
  "Arch": "amd64",
  "Name": "3ware-cli-binary",
  "Version": "10.0-1duo1",
  "Url": "/dists/squeeze/main/udev_175-0ubuntu9.1_i386",
  "DownloadUrl": "/dists/squeeze/main/udev_175-0ubuntu9.1_i386.deb"
}

DELETE /dists/squeeze/main/udev_175-0ubuntu9.1_i386.deb
Something went wrong with that request. Please try again.