{
  "schemaVersion": 1,
  "updatedAt": "2026-07-21T18:01:56.809Z",
  "snippets": [
    {
      "id": "com.harborclient.snippets.auth",
      "name": "Auth",
      "version": "1.0.4",
      "summary": "Snippet for authentication.",
      "author": "HarborClient",
      "categories": [
        "testing"
      ],
      "repoUrl": "https://github.com/harborclient/snippet-auth",
      "ref": "v1.0.4",
      "screenshots": [
        "screenshot.png"
      ],
      "description": "Snippet for authentication.\n\nSee [https://harborclient-blog.com/2026/07/06/capture-auth-tokens-with-post-request-scripts-in-harborclient/](https://harborclient-blog.com/2026/07/06/capture-auth-tokens-with-post-request-scripts-in-harborclient/)\n\n## Development\n\n```bash\npnpm install\n```\n\nSign the bundle directory with an Ed25519 key:\n\n```bash\nexport HARBORCLIENT_PLUGIN_SIGNING_KEY=/path/to/signing.pem\npnpm sign\n```\n\nPublish a new version (bumps `snippets.json`, signs, commits, tags, and pushes):\n\n```bash\npnpm release\npnpm release -- --version minor\n```\n\nSee the [@harborclient/sdk signing docs](https://harborclient.github.io/sdk/signing) for key generation and `signature.json` format.",
      "minAppVersion": ">=2.0.0",
      "snippets": [
        {
          "name": "ID Token",
          "phase": "post-request",
          "stage": "main",
          "file": "id_token.js"
        }
      ]
    },
    {
      "id": "com.harborclient.snippets.testing",
      "name": "Testing",
      "version": "1.0.6",
      "summary": "A complete set of pass and fail testing snippets.",
      "author": "HarborClient",
      "categories": [
        "testing"
      ],
      "repoUrl": "https://github.com/harborclient/snippet-testing",
      "ref": "v1.0.6",
      "screenshots": [
        "screenshot.png"
      ],
      "description": "HarborClient snippet bundle with pass and fail post-request tests.\n\n## Snippets\n\nBoth snippets run in **post-request** script lists (collection or request **PostRequest** tab).\n\n| Snippet  | Purpose                                                                         |\n| -------- | ------------------------------------------------------------------------------- |\n| **Pass** | Asserts a successful response. Use against endpoints that are meant to succeed. |\n| **Fail** | Asserts a error response (expects `400`). Use against endpoints meant to fail.  |\n\n## Install\n\nRequires HarborClient **2.0.0** or later.\n\n1. Open **File → Snippets**.\n2. Browse the **Marketplace** tab and install **Testing**, or use **Install** with this repository URL:\n   `https://github.com/harborclient/snippet-testing`\n3. Installed snippets appear under **Settings → Snippets** and can be referenced from any post-request script list via **Select snippet...**.\n\nSee [Testing](https://harborclient.github.io/testing) and [Request scripts — Snippets](https://harborclient.github.io/request-scripts#snippets) in the HarborClient docs for more on writing and using tests.\n\n## Development\n\n```bash\npnpm install\n```\n\nSign the bundle directory with an Ed25519 key:\n\n```bash\nexport HARBORCLIENT_PLUGIN_SIGNING_KEY=/path/to/signing.pem\npnpm sign\n```\n\nPublish a new version (bumps `snippets.json`, signs, commits, tags, and pushes):\n\n```bash\npnpm release\npnpm release -- --version minor\n```\n\nSee the [@harborclient/sdk signing docs](https://harborclient.github.io/sdk/signing) for key generation and `signature.json` format.",
      "minAppVersion": ">=2.0.0",
      "snippets": [
        {
          "name": "Pass",
          "phase": "post-request",
          "stage": "main",
          "file": "pass.js"
        },
        {
          "name": "Fail",
          "phase": "post-request",
          "stage": "main",
          "file": "fail.js"
        }
      ]
    }
  ]
}
