LinkAce Notes API
The Notes API from LinkAce — 3 operation(s) for notes.
The Notes API from LinkAce — 3 operation(s) for notes.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/linkace:linkace-notes-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: LinkAce Notes API
version: '2.0'
license:
name: GPL-3.0-or-later
url: https://opensource.org/licenses/gpl-3.0.html
contact:
url: https://github.com/Kovah/LinkAce
description:
$ref: ./intro.md
servers:
- url: https://demo.linkace.org
description: Demo Server
tags:
- name: Notes
paths:
/api/v2/links/{link_id}/notes:
parameters:
- $ref: '#/components/parameters/DefaultAccept'
- schema:
type: integer
name: link_id
description: ID of the link you want to get notes for
in: path
required: true
get:
summary: 'Links: Notes for a Link'
tags:
- Notes
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/NotePaginator'
'401':
description: Unauthorized
'404':
description: Not Found
operationId: get-api-v2-links-link_id-notes
description: Get all notes of one specific link.
security:
- api_token: []
parameters:
- $ref: '#/components/parameters/PaginatorAmount'
/api/v2/notes:
parameters:
- $ref: '#/components/parameters/DefaultAccept'
post:
summary: 'Notes: Create'
operationId: post-api-v2-notes
description: Create a new Note.
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Note'
'401':
description: Unauthorized
'422':
description: Unprocessable Entity
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationError'
security:
- api_token: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/NoteCreateRequest'
examples:
Note Creation Request:
$ref: '#/components/examples/NoteCreateRequest'
tags:
- Notes
/api/v2/notes/{note_id}:
parameters:
- $ref: '#/components/parameters/DefaultAccept'
- schema:
type: integer
name: note_id
in: path
required: true
patch:
summary: 'Notes: Update'
operationId: patch-api-v2-notes-note_id
description: Update one specific Note.
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Note'
'401':
description: Unauthorized
'404':
description: Not Found
'422':
description: Unprocessable Entity
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationError'
security:
- api_token: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/NoteUpdateRequest'
examples:
Note Update Request:
$ref: '#/components/examples/NoteUpdateRequest'
tags:
- Notes
delete:
summary: 'Note: Delete'
operationId: delete-api-v2-notes-note_id
description: Delete one specific note.
responses:
'200':
description: OK
'401':
description: Unauthorized
'404':
description: Not Found
'500':
description: Internal Server Error
security:
- api_token: []
tags:
- Notes
components:
parameters:
DefaultAccept:
name: accept
description: Default header needed for every request
in: header
required: true
schema:
type: string
default: application/json
PaginatorAmount:
name: per_page
description: Amount of entries to return per page. Use -1 to return all items.
in: query
schema:
type: integer
minimum: -1
x-examples:
100 entries per page:
per_page: 100
all entries on first page:
per_page: -1
examples:
NoteUpdateRequest:
value:
note: Interesting article, may be useful for later research about state machines in Go.
visibility: 1
NoteCreateRequest:
value:
link_id: 23
note: Interesting article, may be useful for later research about state machines in Go.
visibility: 1
schemas:
NoteCreateRequest:
title: 'Model: Note Create Request'
type: object
properties:
link_id:
type: integer
note:
type: string
example: Interesting article, may be useful for later research about state machines in Go.
is_private:
$ref: '#/components/schemas/Visibility'
required:
- link_id
- note
x-tags:
- model
NoteUpdateRequest:
title: 'Model: Note Update Request'
type: object
properties:
note:
type: string
example: Interesting article, may be useful for later research about state machines in Go.
is_private:
$ref: '#/components/schemas/Visibility'
required:
- note
x-tags:
- model
ValidationError:
title: 'Model: ValidationError'
type: object
properties:
message:
type: string
example: The given data was invalid.
errors:
type: object
properties:
form_key:
type: array
items:
type: string
uniqueItems: false
x-tags:
- model
Visibility:
type: integer
enum:
- 1
- 2
- 3
description: 'Defines the visibility: 1 - public, 2 - internal, 3 - private'
x-tags:
- model
Note:
title: 'Model: Note'
type: object
x-examples:
Example Response for a Note:
id: 85
user_id: 1
link_id: 23
note: Interesting article, may be useful for later research about state machines in Go.
visibility: 1
created_at: '2020-03-09T19:33:23.000000Z'
updated_at: '2020-03-09T19:33:23.000000Z'
deleted_at: null
properties:
id:
type: integer
minimum: 1
example: 84
user_id:
type: integer
example: 1
minimum: 1
link_id:
type: integer
example: 1
minimum: 1
note:
type: string
visibility:
$ref: '#/components/schemas/Visibility'
created_at:
type: string
format: date-time
example: '2020-03-09T19:33:23.000000Z'
updated_at:
type: string
format: date-time
example: '2020-03-09T19:33:23.000000Z'
deleted_at:
type:
- string
- 'null'
format: date-time
example: '2020-03-09T19:33:23.000000Z'
x-tags:
- model
NotePaginator:
title: 'Paginator: Notes'
type: object
properties:
total:
type: integer
to:
type: integer
prev_page_url:
type:
- string
- 'null'
per_page:
type: string
path:
type: string
next_page_url:
type:
- string
- 'null'
last_page_url:
type: string
example: http://linkace.localhost/api/v2/notes?page=7
last_page:
type: integer
from:
type: integer
first_page_url:
type: string
example: http://linkace.localhost/api/v2/notes?page=1
data:
type: array
items:
$ref: '#/components/schemas/Note'
current_page:
type: integer
x-tags:
- model
securitySchemes:
api_token:
type: http
scheme: bearer
description: API token received from the user settings