{
  "opencollection": "1.0.0",
  "info": {
    "name": "SpruceID DIDKit HTTP Credentials API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Credentials",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Issue Verifiable Credential",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8080/credentials/issue",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Issues a W3C Verifiable Credential by adding a cryptographic proof. Supports Data Integrity proofs (LDP) and JSON Web Token (JWT) proof formats. The issuer DID must match a key configured in the server. Supported DID methods include did:key, did:web, did:ethr, and did:tz."
        },
        {
          "info": {
            "name": "Issue Verifiable Credential (legacy path)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8080/issue/credentials",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Legacy VC HTTP API 0.0.1 path for issuing verifiable credentials. Identical functionality to POST /credentials/issue."
        },
        {
          "info": {
            "name": "Verify Verifiable Credential",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8080/credentials/verify",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Verifies a W3C Verifiable Credential by checking its cryptographic proof, credential status (if applicable), and other properties. Returns a verification result with checks performed, warnings, and errors."
        },
        {
          "info": {
            "name": "Verify Verifiable Credential (legacy path)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8080/verify/credentials",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Legacy VC HTTP API 0.0.1 path for verifying verifiable credentials. Identical functionality to POST /credentials/verify."
        }
      ]
    }
  ],
  "bundled": true
}