Package Lookup

GET /jailbreak/package/{packageId}

Retrieve all versions of a package by package ID

Path parameters

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • message string

      Value is 200 Successful.

    • date string(date-time)
    • count integer

      Minimum value is 0.

    • data array[object]
      Hide data attributes Show data attributes object
      • maintainer string | null

        Maintainer of the package

      • refs object
        Hide refs attributes Show refs attributes
        • repo string

          URL to the package repository metadata

        • meta string

          URL to the package metadata

      • isCurrent boolean

        If this is the latest version of the package

      • icon string | null

        URL to the package icon

      • description string | null

        Description of the package

      • Slug of the package repository

      • Architecture of the package

      • Hide repository attributes Show repository attributes
        • originId string

          Database ID of the package repository

        • slug string

          Slug of the package repository

        • aliases array[string]

          Aliases of the package repository

        • uri string

          URL to the package repository

        • sections array[string]

          Sections of the package repository

        • version string

          Version of the package repository

        • Number of packages in the package repository

        • tier number

          Tier ranking of the package repository

        • name string | null

          Name of the package repository

        • suite string

          Suite of the package repository

        • description string | null

          Description of the package repository

        • date string

          Date of the package repository

        • Sileo endpoint of the package repository

        • isPruned boolean

          If the package repository is pruned/hidden from indexing

      • sha256 string | null

        SHA256 hash of the package

      • price string

        Price of the package

      • size number

        Size of the package in bytes

      • tintColor string | null

        Tint color of the package

      • isPruned boolean

        If this package is pruned/hidden from indexing

      • uuid string

        Database ID

      • depiction string | null

        URL to the package depiction

      • header string | null

        URL to the package header

      • author string | null

        Author of the package

      • tags array[string]

        Tags of the package

      • package string

        Package identifier

      • name string | null

        Name of the package

      • Tier ranking of the package repository

      • filename string

        URL relative to the package repository

      • sileoDepiction string | null

        URL to the package depiction (Sileo)

      • version string

        Version of the package

      • section string | null

        Section of the package

      • installedSize number | null

        Installed size of the package

  • 400 application/json

    Bad Request

    Hide response attributes Show response attributes object
    • error string

      The error message

    • date string

      The date and time of the error

    • message string

      The HTTP status code for the error

  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • date string

      The date and time of the error

    • message string

      The HTTP status code for the error

GET /jailbreak/package/{packageId}
curl \
 -X GET https://api.canister.me/v2/jailbreak/package/com.mycompany.mypackage
Response examples (200)
{
  "message": "200 Successful",
  "date": "2024-05-04T09:42:00+00:00",
  "count": 42,
  "data": [
    {
      "maintainer": "HASHBANG Productions <[email protected]>",
      "refs": {
        "repo": "https://api.canister.me/v2/jailbreak/repository/chariz",
        "meta": "https://api.canister.me/v2/jailbreak/package/ws.hbang.newterm2"
      },
      "isCurrent": true,
      "icon": "https://img.chariz.cloud/icon/newterm/[email protected]",
      "description": "A powerful terminal app for iOS",
      "repositorySlug": "chariz",
      "architecture": "iphoneos-arm",
      "repository": {
        "originId": "clbygdiyf0caqph358tsw9l0d",
        "slug": "chariz",
        "aliases": [
          "string"
        ],
        "uri": "https://repo.chariz.com",
        "sections": [
          "string"
        ],
        "version": "0.9",
        "packageCount": 507,
        "tier": 1,
        "name": "Chariz",
        "suite": "./",
        "description": "Check out what’s new and download purchases from the Chariz marketplace!",
        "date": "2022-12-21 21:34:22 +0000",
        "sileoEndpoint": "https://chariz.com/api/sileo/",
        "isPruned": false
      },
      "sha256": "20a7e7716cc1cb088136e92b0128ef12fa57670296023f93f3ec73c7be94916e",
      "price": "Free",
      "size": 2017880,
      "tintColor": "#3896ff",
      "isPruned": false,
      "uuid": "clbygdwom0cw4ph35y2xw9ygf",
      "depiction": "https://chariz.com/get/newterm",
      "header": "https://cdn.chariz.cloud/sileo-banner/newterm.jpg",
      "author": "HASHBANG Productions <[email protected]>",
      "tags": [
        "string"
      ],
      "package": "ws.hbang.newterm2",
      "name": "NewTerm 2",
      "repositoryTier": 1,
      "filename": "debs/ws.hbang.newterm2_2.5_iphoneos-arm.deb",
      "sileoDepiction": "https://repo.chariz.com/api/sileo/package/ws.hbang.newterm2/depiction.json",
      "version": "2.5",
      "section": "Terminal Support",
      "installedSize": 6664
    }
  ]
}
Response examples (400)
{
  "error": "Missing query parameter: 'q'",
  "date": "2023-01-04T20: 34: 05.627525+00: 00",
  "message": "400 Bad Request"
}
Response examples (404)
{
  "date": "2023-01-04 20:34:05 +0000",
  "message": "404 Not Found"
}