Linkwarden Migration API

The Migration API from Linkwarden — 1 operation(s) for migration.

Operations 2

GET /api/v1/migration Retrieve migration data #
POST /api/v1/migration Import data for migration #

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/linkwarden:linkwarden-migration-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

linkwarden-migration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Linkwarden OpenAPI Documentation.
  version: 1.0.0
  title: Introduction Migration API
  license:
    name: GNU Affero General Public License v3.0
    url: https://www.gnu.org/licenses/agpl-3.0.html
tags:
- name: Migration
paths:
  /api/v1/migration:
    get:
      security:
      - bearerAuth: []
      summary: Retrieve migration data
      description: Fetches migration data, including user information, collections, and links.
      tags:
      - Migration
      responses:
        '200':
          description: Migration data successfully retrieved.
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                  username:
                    type: string
                  email:
                    type:
                    - string
                    - 'null'
                  emailVerified:
                    type:
                    - boolean
                    - 'null'
                  unverifiedNewEmail:
                    type:
                    - string
                    - 'null'
                  image:
                    type: string
                  locale:
                    type: string
                  parentSubscriptionId:
                    type:
                    - string
                    - 'null'
                  collectionOrder:
                    type: array
                    items:
                      type: integer
                  linksRouteTo:
                    type: string
                  preventDuplicateLinks:
                    type: boolean
                  archiveAsScreenshot:
                    type: boolean
                  archiveAsMonolith:
                    type: boolean
                  archiveAsPDF:
                    type: boolean
                  archiveAsWaybackMachine:
                    type: boolean
                  isPrivate:
                    type: boolean
                  referredBy:
                    type:
                    - string
                    - 'null'
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                  collections:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                        name:
                          type: string
                        description:
                          type: string
                        icon:
                          type:
                          - string
                          - 'null'
                        iconWeight:
                          type:
                          - string
                          - 'null'
                        color:
                          type: string
                        parentId:
                          type:
                          - integer
                          - 'null'
                        isPublic:
                          type: boolean
                        ownerId:
                          type: integer
                        createdById:
                          type: integer
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                        links:
                          type: array
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                              name:
                                type: string
                              type:
                                type: string
                              description:
                                type: string
                              createdById:
                                type: integer
                              collectionId:
                                type: integer
                              icon:
                                type:
                                - string
                                - 'null'
                              iconWeight:
                                type:
                                - string
                                - 'null'
                              color:
                                type:
                                - string
                                - 'null'
                              url:
                                type: string
                              textContent:
                                type:
                                - string
                                - 'null'
                              preview:
                                type:
                                - string
                                - 'null'
                              image:
                                type:
                                - string
                                - 'null'
                              pdf:
                                type:
                                - string
                                - 'null'
                              readable:
                                type:
                                - string
                                - 'null'
                              monolith:
                                type:
                                - string
                                - 'null'
                              lastPreserved:
                                type: string
                                format: date-time
                              importDate:
                                type:
                                - string
                                - 'null'
                                format: date-time
                              createdAt:
                                type: string
                                format: date-time
                              updatedAt:
                                type: string
                                format: date-time
                              tags:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    id:
                                      type: integer
                                    name:
                                      type: string
                                    ownerId:
                                      type: integer
                                    createdAt:
                                      type: string
                                      format: date-time
                                    updatedAt:
                                      type: string
                                      format: date-time
                  pinnedLinks:
                    type: array
                    items:
                      type: object
                  whitelistedUsers:
                    type: array
                    items:
                      type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: User not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  response:
                    type: string
      operationId: getApiV1Migration
      x-operation-id-source: derived
    post:
      security:
      - bearerAuth: []
      summary: Import data for migration
      description: Imports data into the system using one of the supported formats.
      tags:
      - Migration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - format
              - data
              properties:
                format:
                  type: integer
                  enum:
                  - 0
                  - 1
                  - 2
                  - 3
                  - 4
                  description: 'The format of the data to import.

                    - `0`: Linkwarden JSON format.

                    - `1`: Bookmarks HTML format.

                    - `2`: Wallabag JSON format.

                    - `3`: Omnivore JSON format.

                    - `4`: Pocket JSON format.

                    '
                data:
                  type: string
                  description: The raw import payload serialized as a string in the selected source format.
      responses:
        '200':
          description: Data imported successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  response:
                    type: string
                    description: The response message for the import.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
      operationId: postApiV1Migration
      x-operation-id-source: derived
components:
  responses:
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    BadRequest:
      description: Bad request error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    ErrorResponse:
      type: object
      properties:
        response:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT