Al-Farabi Kazakh National University xblock API

The xblock API from Al-Farabi Kazakh National University — 10 operation(s) for xblock.

Operations 12

GET /xblock/v2/xblocks/{usage_key}/ Get metadata about the specified block. #
GET /xblock/v2/xblocks/{usage_key}/fields/ #
POST /xblock/v2/xblocks/{usage_key}/fields/ #
GET /xblock/v2/xblocks/{usage_key}/handler_url/{handler_name}/ Get an absolute URL which can be used (without any authentication) to call the given XBlock handler. #
GET /xblock/v2/xblocks/{usage_key}/olx/ #
GET /xblock/v2/xblocks/{usage_key}/view/{view_name}/ #
GET /xblock/v2/xblocks/{usage_key}@{version}/ Get metadata about the specified block. #
GET /xblock/v2/xblocks/{usage_key}@{version}/fields/ #
POST /xblock/v2/xblocks/{usage_key}@{version}/fields/ #
GET /xblock/v2/xblocks/{usage_key}@{version}/handler_url/{handler_name}/ Get an absolute URL which can be used (without any authentication) to call the given XBlock handler. #
GET /xblock/v2/xblocks/{usage_key}@{version}/olx/ #
GET /xblock/v2/xblocks/{usage_key}@{version}/view/{view_name}/ #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/al-farabi-kazakh-national-university-xblock-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

al-farabi-kazakh-national-university-xblock-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Open edX Xblock API
  description: APIs for access to Open edX information
  contact:
    email: dl@kaznu.kz
  version: v1
servers:
- url: https://open.kaznu.kz/api
security:
- Basic: []
tags:
- name: xblock
paths:
  /xblock/v2/xblocks/{usage_key}/:
    get:
      operationId: xblock_v2_xblocks_read
      summary: Get metadata about the specified block.
      description: "Accepts the following query parameters:\n\n* \"include\": a comma-separated list of keys to include.\n  Valid keys are \"index_dictionary\" and \"student_view_data\"."
      tags:
      - xblock
      parameters:
      - name: usage_key
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
  /xblock/v2/xblocks/{usage_key}/fields/:
    get:
      operationId: xblock_v2_xblocks_fields_list
      description: retrieves the xblock, returning display_name, data, and metadata
      tags:
      - xblock
      parameters:
      - name: usage_key
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
    post:
      operationId: xblock_v2_xblocks_fields_create
      description: edits the xblock, saving changes to data and metadata only (display_name included in metadata)
      tags:
      - xblock
      parameters:
      - name: usage_key
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: ''
  /xblock/v2/xblocks/{usage_key}/handler_url/{handler_name}/:
    get:
      operationId: xblock_v2_xblocks_handler_url_read
      summary: 'Get an absolute URL which can be used (without any authentication) to call

        the given XBlock handler.'
      description: The URL will expire but is guaranteed to be valid for a minimum of 2 days.
      tags:
      - xblock
      parameters:
      - name: usage_key
        in: path
        required: true
        schema:
          type: string
      - name: handler_name
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
  /xblock/v2/xblocks/{usage_key}/olx/:
    get:
      operationId: xblock_v2_xblocks_olx_list
      description: Get the OLX (XML serialization) of the specified XBlock
      tags:
      - xblock
      parameters:
      - name: usage_key
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
  /xblock/v2/xblocks/{usage_key}/view/{view_name}/:
    get:
      operationId: xblock_v2_xblocks_view_read
      description: Get the HTML, JS, and CSS needed to render the given XBlock.
      tags:
      - xblock
      parameters:
      - name: usage_key
        in: path
        required: true
        schema:
          type: string
      - name: view_name
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
  /xblock/v2/xblocks/{usage_key}@{version}/:
    get:
      operationId: xblock_v2_xblocks_read
      summary: Get metadata about the specified block.
      description: "Accepts the following query parameters:\n\n* \"include\": a comma-separated list of keys to include.\n  Valid keys are \"index_dictionary\" and \"student_view_data\"."
      tags:
      - xblock
      parameters:
      - name: usage_key
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
  /xblock/v2/xblocks/{usage_key}@{version}/fields/:
    get:
      operationId: xblock_v2_xblocks_fields_list
      description: retrieves the xblock, returning display_name, data, and metadata
      tags:
      - xblock
      parameters:
      - name: usage_key
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
    post:
      operationId: xblock_v2_xblocks_fields_create
      description: edits the xblock, saving changes to data and metadata only (display_name included in metadata)
      tags:
      - xblock
      parameters:
      - name: usage_key
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: ''
  /xblock/v2/xblocks/{usage_key}@{version}/handler_url/{handler_name}/:
    get:
      operationId: xblock_v2_xblocks_handler_url_read
      summary: 'Get an absolute URL which can be used (without any authentication) to call

        the given XBlock handler.'
      description: The URL will expire but is guaranteed to be valid for a minimum of 2 days.
      tags:
      - xblock
      parameters:
      - name: usage_key
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: handler_name
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
  /xblock/v2/xblocks/{usage_key}@{version}/olx/:
    get:
      operationId: xblock_v2_xblocks_olx_list
      description: Get the OLX (XML serialization) of the specified XBlock
      tags:
      - xblock
      parameters:
      - name: usage_key
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
  /xblock/v2/xblocks/{usage_key}@{version}/view/{view_name}/:
    get:
      operationId: xblock_v2_xblocks_view_read
      description: Get the HTML, JS, and CSS needed to render the given XBlock.
      tags:
      - xblock
      parameters:
      - name: usage_key
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: view_name
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
components:
  securitySchemes:
    Basic:
      type: http
      scheme: basic