Skip to main content
POST
/
ims
/
clr
/
v2p0
/
credentials
Upsert a Verifiable Comprehensive Learner Record (CLR)
curl --request POST \
  --url https://api.alpha-1edtech.ai/ims/clr/v2p0/credentials/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "@context": [
    "<string>"
  ],
  "id": "<string>",
  "type": [
    "<string>"
  ],
  "issuer": {
    "id": "<string>",
    "type": [
      "<string>"
    ],
    "name": "<string>",
    "url": "<string>",
    "phone": "<string>",
    "description": "<string>",
    "email": "jsmith@example.com"
  },
  "name": "<string>",
  "validFrom": "2023-11-07T05:31:56Z",
  "credentialSubject": {
    "type": [
      "<string>"
    ],
    "verifiableCredential": [
      {
        "@context": [
          "<string>"
        ],
        "id": "<string>",
        "type": [
          "<string>"
        ],
        "issuer": {
          "id": "<string>",
          "type": [
            "<string>"
          ],
          "name": "<string>",
          "url": "<string>",
          "phone": "<string>",
          "description": "<string>",
          "email": "jsmith@example.com"
        },
        "validFrom": "2023-11-07T05:31:56Z",
        "credentialSubject": {
          "id": "<string>"
        },
        "validUntil": "2023-11-07T05:31:56Z",
        "proof": [
          {
            "type": "<string>",
            "proofPurpose": "<string>",
            "verificationMethod": "<string>",
            "created": "2023-11-07T05:31:56Z",
            "proofValue": "<string>",
            "cryptosuite": "<string>"
          }
        ]
      }
    ],
    "id": "<string>",
    "identifier": [
      {
        "type": "<string>",
        "identityHash": "<string>",
        "identityType": "<string>",
        "hashed": true,
        "salt": "<string>"
      }
    ],
    "achievement": [
      {
        "id": "<string>",
        "type": [
          "<string>"
        ],
        "name": "<string>",
        "description": "<string>",
        "criteria": {
          "id": "<string>",
          "narrative": "<string>"
        }
      }
    ],
    "association": [
      {
        "type": "<string>",
        "sourceId": "<string>",
        "targetId": "<string>"
      }
    ]
  },
  "description": "<string>",
  "validUntil": "2023-11-07T05:31:56Z",
  "proof": [
    {
      "type": "<string>",
      "proofPurpose": "<string>",
      "verificationMethod": "<string>",
      "created": "2023-11-07T05:31:56Z",
      "proofValue": "<string>",
      "cryptosuite": "<string>"
    }
  ],
  "credentialSchema": [
    {
      "id": "<string>",
      "type": "<string>"
    }
  ]
}
'
{
  "@context": [
    "<string>"
  ],
  "id": "<string>",
  "type": [
    "<string>"
  ],
  "issuer": {
    "id": "<string>",
    "type": [
      "<string>"
    ],
    "name": "<string>",
    "url": "<string>",
    "phone": "<string>",
    "description": "<string>",
    "image": {
      "id": "<string>",
      "type": "<string>",
      "caption": "<string>"
    },
    "email": "jsmith@example.com"
  },
  "name": "<string>",
  "validFrom": "2023-11-07T05:31:56Z",
  "credentialSubject": {
    "type": [
      "<string>"
    ],
    "verifiableCredential": [
      {
        "@context": [
          "<string>"
        ],
        "id": "<string>",
        "type": [
          "<string>"
        ],
        "issuer": {
          "id": "<string>",
          "type": [
            "<string>"
          ],
          "name": "<string>",
          "url": "<string>",
          "phone": "<string>",
          "description": "<string>",
          "image": {
            "id": "<string>",
            "type": "<string>",
            "caption": "<string>"
          },
          "email": "jsmith@example.com"
        },
        "validFrom": "2023-11-07T05:31:56Z",
        "credentialSubject": {
          "id": "<string>"
        },
        "validUntil": "2023-11-07T05:31:56Z",
        "proof": [
          {
            "type": "<string>",
            "proofPurpose": "<string>",
            "verificationMethod": "<string>",
            "created": "2023-11-07T05:31:56Z",
            "proofValue": "<string>",
            "cryptosuite": "<string>"
          }
        ]
      }
    ],
    "id": "<string>",
    "identifier": [
      {
        "type": "<string>",
        "identityHash": "<string>",
        "identityType": "<string>",
        "hashed": true,
        "salt": "<string>"
      }
    ],
    "achievement": [
      {
        "id": "<string>",
        "type": [
          "<string>"
        ],
        "name": "<string>",
        "description": "<string>",
        "criteria": {
          "id": "<string>",
          "narrative": "<string>"
        },
        "image": {
          "id": "<string>",
          "type": "<string>",
          "caption": "<string>"
        },
        "creator": {
          "id": "<string>",
          "type": [
            "<string>"
          ],
          "name": "<string>",
          "url": "<string>",
          "phone": "<string>",
          "description": "<string>",
          "image": {
            "id": "<string>",
            "type": "<string>",
            "caption": "<string>"
          },
          "email": "jsmith@example.com"
        }
      }
    ],
    "association": [
      {
        "type": "<string>",
        "sourceId": "<string>",
        "targetId": "<string>"
      }
    ]
  },
  "description": "<string>",
  "validUntil": "2023-11-07T05:31:56Z",
  "proof": [
    {
      "type": "<string>",
      "proofPurpose": "<string>",
      "verificationMethod": "<string>",
      "created": "2023-11-07T05:31:56Z",
      "proofValue": "<string>",
      "cryptosuite": "<string>"
    }
  ],
  "credentialSchema": [
    {
      "id": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.timeback.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
@context
string[]
required
id
string<uri>
required
type
string[]
required
issuer
object
required
name
string
required
validFrom
string<date-time>
required
credentialSubject
object
required
description
string
validUntil
string<date-time>
proof
object[]
credentialSchema
object[]

Response

Credential successfully updated

@context
string[]
required
id
string<uri>
required
type
string[]
required
issuer
object
required
name
string
required
validFrom
string<date-time>
required
credentialSubject
object
required
description
string
validUntil
string<date-time>
proof
object[]
credentialSchema
object[]