{
  "opencollection": "1.0.0",
  "info": {
    "name": "Skilljar Assets Domains > Published Courses > Reenrollment Rule API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Domains > Published Courses > Reenrollment Rule",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "domains_published_courses_reenrollment_rule_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/domains/:domain_name/published-courses/:published_course_id/reenrollment_rule",
            "params": [
              {
                "name": "domain_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "published_course_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Get the reenrollment rule for a `PublishedCourse` instance."
        },
        {
          "info": {
            "name": "domains_published_courses_reenrollment_rule_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/domains/:domain_name/published-courses/:published_course_id/reenrollment_rule",
            "params": [
              {
                "name": "domain_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "published_course_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Create the reenrollment rule for a `PublishedCourse` instance."
        },
        {
          "info": {
            "name": "domains_published_courses_reenrollment_rule_update",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v1/domains/:domain_name/published-courses/:published_course_id/reenrollment_rule",
            "params": [
              {
                "name": "domain_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "published_course_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Update the reenrollment rule for a `PublishedCourse`.\n\nPUT and PATCH are identical - both do partial updates."
        },
        {
          "info": {
            "name": "domains_published_courses_reenrollment_rule_partial_update",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v1/domains/:domain_name/published-courses/:published_course_id/reenrollment_rule",
            "params": [
              {
                "name": "domain_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "published_course_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Update the reenrollment rule for a `PublishedCourse`.\n\nPUT and PATCH are identical - both do partial updates."
        },
        {
          "info": {
            "name": "domains_published_courses_reenrollment_rule_destroy",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v1/domains/:domain_name/published-courses/:published_course_id/reenrollment_rule",
            "params": [
              {
                "name": "domain_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "published_course_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Delete the reenrollment rule for a published course. Returns a `204 No Content` response on success."
        }
      ]
    }
  ],
  "bundled": true
}