University of Edinburgh Repository API

Service root, communities, collections and discovery for Edinburgh DataShare

Operations 7

GET / Service root and HAL link index #
GET /core/communities List communities #
GET /core/collections List collections #
GET /discover/search/objects Discovery search across repository objects #
GET /discover/browses List configured browse indexes #
GET /core/items List items (authenticated) #
GET /core/bitstreams List bitstreams (authenticated) #

Documentation

Specifications

Schemas & Data

Other Resources

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/university-of-edinburgh-repository-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

university-of-edinburgh-repository-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: University Of Edinburgh Repository API
  version: '8.3'
  license:
    name: DSpace BSD License
    url: https://github.com/DSpace/DSpace/blob/dspace-8_x/LICENSE
  x-operator: institution
  x-refined-note:
  - x-operator-evidence differs across the merged source definitions and was not carried
  - x-provenance differs across the merged source definitions and was not carried
  description: 'Operations tagged Repository across 2 of this provider''s published API definitions: university-of-edinburgh-datashare-repository-api-openapi.yml, university-of-edinburgh-era-repository-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://datashare.ed.ac.uk/server/api
  description: Edinburgh DataShare DSpace 8.3 REST endpoint (probed 200 on 2026-08-19)
- url: https://era.ed.ac.uk/server/api
  description: Edinburgh Research Archive (ERA) DSpace 8.3 REST endpoint (probed 200 on 2026-08-19)
tags:
- name: Repository
  description: Service root, communities, collections and discovery for Edinburgh DataShare
paths:
  /:
    get:
      tags:
      - Repository
      operationId: getRoot
      summary: Service root and HAL link index
      description: Returns the DSpace name, version and the HAL _links index of every REST resource.
      responses:
        '200':
          description: Service root (observed)
          content:
            application/hal+json:
              schema:
                $ref: '#/components/schemas/Root'
    servers:
    - url: https://datashare.ed.ac.uk/server/api
      description: Edinburgh DataShare DSpace 8.3 REST endpoint (probed 200 on 2026-08-19)
  /core/communities:
    get:
      tags:
      - Repository
      operationId: listCommunities
      summary: List communities
      description: Paged list of top-level and nested communities. Anonymous read observed 200.
      parameters:
      - $ref: '#/components/parameters/Size'
      - $ref: '#/components/parameters/Page'
      responses:
        '200':
          description: Paged community list (observed, page.totalElements=110)
          content:
            application/hal+json:
              schema:
                $ref: '#/components/schemas/CommunityPage'
    servers:
    - url: https://datashare.ed.ac.uk/server/api
      description: Edinburgh DataShare DSpace 8.3 REST endpoint (probed 200 on 2026-08-19)
  /core/collections:
    get:
      tags:
      - Repository
      operationId: listCollections
      summary: List collections
      description: Paged list of collections. Anonymous read observed 200.
      parameters:
      - $ref: '#/components/parameters/Size'
      - $ref: '#/components/parameters/Page'
      responses:
        '200':
          description: Paged collection list (observed)
          content:
            application/hal+json:
              schema:
                $ref: '#/components/schemas/CollectionPage'
    servers:
    - url: https://datashare.ed.ac.uk/server/api
      description: Edinburgh DataShare DSpace 8.3 REST endpoint (probed 200 on 2026-08-19)
  /discover/search/objects:
    get:
      tags:
      - Repository
      operationId: searchObjects
      summary: Discovery search across repository objects
      description: Faceted discovery search. Anonymous read observed 200.
      parameters:
      - name: query
        in: query
        required: false
        schema:
          type: string
        description: Free-text query
      - $ref: '#/components/parameters/Size'
      - $ref: '#/components/parameters/Page'
      responses:
        '200':
          description: Discovery result envelope (observed)
          content:
            application/hal+json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                    example: discover
                  _embedded:
                    type: object
                  _links:
                    type: object
    servers:
    - url: https://datashare.ed.ac.uk/server/api
      description: Edinburgh DataShare DSpace 8.3 REST endpoint (probed 200 on 2026-08-19)
  /discover/browses:
    get:
      tags:
      - Repository
      operationId: listBrowses
      summary: List configured browse indexes
      description: Browse indexes (title, dateissued, author, subject). Anonymous read observed 200.
      responses:
        '200':
          description: Browse index list (observed)
          content:
            application/hal+json:
              schema:
                type: object
                properties:
                  _embedded:
                    type: object
                  _links:
                    type: object
    servers:
    - url: https://datashare.ed.ac.uk/server/api
      description: Edinburgh DataShare DSpace 8.3 REST endpoint (probed 200 on 2026-08-19)
  /core/items:
    get:
      tags:
      - Repository
      operationId: listItems
      summary: List items (authenticated)
      description: Observed 401 for anonymous callers on this deployment. Item metadata is reachable anonymously through /discover/search/objects and OAI-PMH instead.
      responses:
        '401':
          description: Authentication is required (observed)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://datashare.ed.ac.uk/server/api
      description: Edinburgh DataShare DSpace 8.3 REST endpoint (probed 200 on 2026-08-19)
  /core/bitstreams:
    get:
      tags:
      - Repository
      operationId: listBitstreams
      summary: List bitstreams (authenticated)
      description: Observed 401 for anonymous callers on this deployment.
      responses:
        '401':
          description: Authentication is required (observed)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://datashare.ed.ac.uk/server/api
      description: Edinburgh DataShare DSpace 8.3 REST endpoint (probed 200 on 2026-08-19)
components:
  schemas:
    Community:
      type: object
      description: DSpace community (observed shape)
      properties:
        id:
          type: string
          format: uuid
        uuid:
          type: string
          format: uuid
        name:
          type: string
        handle:
          type: string
          example: 10283/2821
        archivedItemsCount:
          type: integer
        type:
          type: string
          example: community
        metadata:
          type: object
          description: Dublin Core metadata map keyed by qualified DC field
          additionalProperties:
            type: array
            items:
              type: object
              properties:
                value:
                  type: string
                language:
                  type:
                  - string
                  - 'null'
                authority:
                  type:
                  - string
                  - 'null'
                confidence:
                  type: integer
                place:
                  type: integer
        _links:
          type: object
    CollectionPage:
      type: object
      properties:
        _embedded:
          type: object
          properties:
            collections:
              type: array
              items:
                $ref: '#/components/schemas/Collection'
        page:
          $ref: '#/components/schemas/PageMeta'
        _links:
          type: object
    Collection:
      type: object
      description: DSpace collection (observed shape)
      properties:
        id:
          type: string
          format: uuid
        uuid:
          type: string
          format: uuid
        name:
          type: string
        handle:
          type: string
        archivedItemsCount:
          type: integer
        type:
          type: string
          example: collection
        metadata:
          type: object
        _links:
          type: object
    Root:
      type: object
      description: DSpace service root (observed shape)
      properties:
        dspaceUI:
          type: string
          format: uri
          example: https://datashare.ed.ac.uk
        dspaceName:
          type: string
          example: Datashare
        dspaceServer:
          type: string
          format: uri
          example: https://datashare.ed.ac.uk/server
        dspaceVersion:
          type: string
          example: DSpace 8.3
        type:
          type: string
          example: root
        _links:
          type: object
    Error:
      type: object
      description: Spring Boot error envelope (observed)
      properties:
        timestamp:
          type: string
          format: date-time
        status:
          type: integer
        error:
          type: string
        message:
          type: string
        path:
          type: string
    PageMeta:
      type: object
      properties:
        size:
          type: integer
        totalElements:
          type: integer
        totalPages:
          type: integer
        number:
          type: integer
    CommunityPage:
      type: object
      properties:
        _embedded:
          type: object
          properties:
            communities:
              type: array
              items:
                $ref: '#/components/schemas/Community'
        page:
          $ref: '#/components/schemas/PageMeta'
        _links:
          type: object
    Root_2:
      type: object
      description: DSpace service root (observed shape)
      properties:
        dspaceUI:
          type: string
          format: uri
          example: https://era.ed.ac.uk
        dspaceName:
          type: string
          example: ERA
        dspaceServer:
          type: string
          format: uri
          example: https://era.ed.ac.uk/server
        dspaceVersion:
          type: string
          example: DSpace 8.3
        type:
          type: string
          example: root
        _links:
          type: object
  parameters:
    Page:
      name: page
      in: query
      required: false
      schema:
        type: integer
        default: 0
      description: Zero-based page number
    Size:
      name: size
      in: query
      required: false
      schema:
        type: integer
        default: 20
      description: Page size
x-refined-from:
- university-of-edinburgh-datashare-repository-api-openapi.yml
- university-of-edinburgh-era-repository-api-openapi.yml