LinkAce Trash API
The Trash API from LinkAce — 6 operation(s) for trash.
The Trash API from LinkAce — 6 operation(s) for trash.
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-trash-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 Trash 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: Trash
paths:
/api/v2/trash/links:
parameters:
- $ref: '#/components/parameters/DefaultAccept'
get:
summary: 'Trash: Get Links'
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Link'
'401':
description: Unauthorized
operationId: get-api-v2-trash-links
tags:
- Trash
description: Get all trashed links.
security:
- api_token: []
/api/v2/trash/lists:
parameters:
- $ref: '#/components/parameters/DefaultAccept'
get:
summary: 'Trash: Get Lists'
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/List'
'401':
description: Unauthorized
operationId: get-api-v2-trash-lists
tags:
- Trash
description: Get all trashed lists.
security:
- api_token: []
/api/v2/trash/tags:
parameters:
- $ref: '#/components/parameters/DefaultAccept'
get:
summary: 'Trash: Get Tags'
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Tag'
'401':
description: Unauthorized
operationId: get-api-v2-trash-tags
tags:
- Trash
description: Get all trashed tags.
security:
- api_token: []
/api/v2/trash/notes:
parameters:
- $ref: '#/components/parameters/DefaultAccept'
get:
summary: 'Trash: Get Notes'
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Note'
'401':
description: Unauthorized
operationId: get-api-v2-trash-notes
tags:
- Trash
description: Get all trashed notes.
security:
- api_token: []
/api/v2/trash/clear:
parameters:
- $ref: '#/components/parameters/DefaultAccept'
delete:
summary: 'Trash: Clear for Model'
operationId: delete-api-v2-trash-clear
responses:
'200':
description: OK, all entries deleted
'401':
description: Unauthorized
'500':
description: Internal Server Error
description: Delete all trashed entries for a given model.
security:
- api_token: []
requestBody:
content:
application/json:
schema:
type: object
description: ''
properties:
model:
type: string
description: Model type
enum:
- links
- lists
- tags
- notes
required:
- model
tags:
- Trash
/api/v2/trash/restore:
parameters:
- $ref: '#/components/parameters/DefaultAccept'
patch:
summary: 'Trash: Restore entry'
operationId: patch-api-v2-trash-restore
responses:
'200':
description: OK, entry restored successfully
'401':
description: Unauthorized
'404':
description: Not Found
'500':
description: Internal Server Error
description: Restore one specific entry from the trash.
security:
- api_token: []
requestBody:
content:
application/json:
schema:
type: object
properties:
model:
type: string
description: Entry type
enum:
- link
- list
- tag
- note
id:
type: integer
description: Entry ID
required:
- model
- id
description: ''
tags:
- Trash
components:
parameters:
DefaultAccept:
name: accept
description: Default header needed for every request
in: header
required: true
schema:
type: string
default: application/json
schemas:
Tag:
title: 'Model: Tag'
type: object
x-examples:
Example of a Tag:
id: 118
user_id: 1
name: alternative
visibility: 1
created_at: '2019-02-24T20:39:25.000000Z'
updated_at: '2019-02-24T20:39:25.000000Z'
deleted_at: null
properties:
id:
type: integer
user_id:
type: integer
name:
type: string
visibility:
type: integer
enum:
- 1
- 2
- 3
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
List:
title: 'Model: List'
type: object
x-examples:
Example of a List:
id: 3
user_id: 1
name: CSS Frameworks
description: null
visibility: 1
created_at: '2020-01-24T13:13:02.000000Z'
updated_at: '2020-01-24T13:13:02.000000Z'
deleted_at: null
links: https://example.com/api/v2/list/3/links
properties:
id:
type: integer
user_id:
type: integer
name:
type: string
description:
type:
- string
- 'null'
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'
links:
type: string
description: Contains the API URL to get the actual links of a list.
x-tags:
- model
Link:
title: 'Model: Link'
type: object
x-examples:
Example Response for DuckDuckGo.com:
id: 85
user_id: 1
url: https://duckduckgo.com
title: DuckDuckGo — Privacy, simplified.
description: The Internet privacy company that empowers you to seamlessly take control of your personal information online, without any tradeoffs.
icon: fa fa-link
visibility: 1
status: 1
check_disabled: false
lists: []
tags: []
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
url:
type: string
format: uri
example: https://duckduckgo.com
title:
type: string
description:
type:
- string
- 'null'
icon:
type:
- string
- 'null'
pattern: fa fa-link
visibility:
$ref: '#/components/schemas/Visibility'
status:
type: integer
enum:
- 1
- 2
- 3
check_disabled:
type: boolean
lists:
type: array
items:
$ref: '#/components/schemas/List'
tags:
type: array
items:
$ref: '#/components/schemas/Tag'
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
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
securitySchemes:
api_token:
type: http
scheme: bearer
description: API token received from the user settings