---
updatedAt: 2025-06-12T21:56:58.000Z
agentTools:
  projectIndex: https://readme.gooru.org/llms.txt
---

# Create a new External Assessment

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Header Name
      </th>

      <th style={{ textAlign: "left" }}>
        Value
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        Location
      </td>

      <td style={{ textAlign: "left" }}>
        UUID
      </td>

      <td style={{ textAlign: "left" }}>
        ID of the newly created  external content
      </td>
    </tr>
  </tbody>
</Table>

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Header
      </th>

      <th style={{ textAlign: "left" }}>
        Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        Authorization
      </td>

      <td style={{ textAlign: "left" }}>
        Token \{TOKEN}
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        Content-Type
      </td>

      <td style={{ textAlign: "left" }}>
        application/json
      </td>
    </tr>
  </tbody>
</Table>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "2"
  },
  "servers": [
    {
      "url": "http://gooru.org/api/nucleus/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/assessments-external": {
      "post": {
        "summary": "Create a new External Assessment",
        "description": "",
        "operationId": "create-a-new-external-assessment",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "title",
                  "url",
                  "login_required"
                ],
                "properties": {
                  "title": {
                    "type": "string",
                    "description": "Title\tof the external\tcontent"
                  },
                  "url": {
                    "type": "string",
                    "description": "URL\tof the external\tcontent"
                  },
                  "login_required": {
                    "type": "boolean",
                    "description": "Login requirement of the\texternal content"
                  },
                  "learning_objective": {
                    "type": "string",
                    "description": "Description of\tthe\texternal\tcontent"
                  },
                  "taxonomy": {
                    "type": "array",
                    "description": "Taxonomy for the external content"
                  },
                  "metadata": {
                    "type": "string",
                    "description": "Metadata\tof the external\tcontent",
                    "default": "null"
                  },
                  "thumbnail": {
                    "type": "string",
                    "description": "Path\tof the thumbnail",
                    "default": "null"
                  },
                  "primary_language": {
                    "type": "integer",
                    "description": "Primary Language of the external  content",
                    "default": 1,
                    "format": "int32"
                  },
                  "visible_on_profile": {
                    "type": "boolean"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "201",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```