Repository Safety Check

GET /jailbreak/repository/safety

Checks if a repository is safe by URI

Query parameters

  • uris string

    Multiple comma-separated repository URIs to check.

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
      • uri string

        Supplied repository URI

      • safe boolean

        Whether the repository is safe

  • 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

GET /jailbreak/repository/safety
curl \
 -X GET https://api.canister.me/v2/jailbreak/repository/safety
Response examples (200)
{
  "message": "200 Successful",
  "date": "2024-05-04T09:42:00+00:00",
  "count": 42,
  "data": [
    {
      "uri": "string",
      "safe": true
    }
  ]
}
Response examples (400)
{
  "error": "Missing query parameter: 'q'",
  "date": "2023-01-04T20: 34: 05.627525+00: 00",
  "message": "400 Bad Request"
}