{
  "opencollection": "1.0.0",
  "info": {
    "name": "Skilljar Assets Training Credit Codes API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Training Credit Codes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "training_credit_codes_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/training-credit-codes",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A page number within the paginated result set."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "tracking_identifier",
                "value": "",
                "type": "query",
                "description": "Filter results by tracking_identifier"
              },
              {
                "name": "training_credit_code",
                "value": "",
                "type": "query",
                "description": "Filter results by training credit code name"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Retrieve a paginated list of training credit codes.\n\nReturns a list of training credit codes for your organization.\nSupports filtering by tracking identifier and code value."
        },
        {
          "info": {
            "name": "training_credit_codes_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/training-credit-codes",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Create a new training credit code.\n\nCreates a training credit code that can be distributed and redeemed by learners.\nSpecify code details and optional metadata."
        },
        {
          "info": {
            "name": "training_credit_codes_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/training-credit-codes/:training_credit_code_id",
            "params": [
              {
                "name": "training_credit_code_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Retrieve details for a specific training credit code.\n\nReturns detailed information about a single training credit code,\nincluding its status, value, and associated metadata."
        },
        {
          "info": {
            "name": "training_credit_codes_partial_update",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v1/training-credit-codes/:training_credit_code_id",
            "params": [
              {
                "name": "training_credit_code_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Update an existing training credit code.\n\nAllows updating fields such as status or metadata for an existing training credit code."
        }
      ]
    }
  ],
  "bundled": true
}