Skip to content

Commit

Permalink
Update last release (1.17.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinSRG committed Apr 14, 2024
1 parent e8c0b64 commit 9ef2099
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 2 deletions.
69 changes: 68 additions & 1 deletion static/apis/en/api-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ swagger: "2.0"
info:
title: PersonalMediaVault Backend API
description: API to access PersonalMediaVault from a web client.
version: 1.16.1
version: 1.17.0

schemes:
- http
Expand Down Expand Up @@ -1766,6 +1766,73 @@ paths:
description: Search results for this page
items:
$ref: '#/definitions/MediaListItem'

"/api/search/advanced":
get:
summary: Advanced search
description: Advanced search. Can filter up to a maximum of 16 tags. Expandable, but not paginated.
tags:
- search
consumes:
- application/json
produces:
- application/json
parameters:
- in: query
name: "tags_mode"
type: string
enum:
- allof
- anyof
- noneof
description: Tags filtering mode
- in: query
name: "tags"
type: string
description: List of tag names, encoded as a JSON array. Up to a max of 16.
- in: query
name: "order"
type: string
enum:
- asc
- desc
description: "Order. Can be 'asc' or 'desc'. Descendant by default."
- in: query
name: "continue"
type: number
format: int64
description: Reference of the last item to continue fetching more items
- in: query
name: "limit"
type: number
format: int32
description: Max number of items to get. Max is 256.
security:
- SessionTokenHeader: []
responses:
401:
description: Unauthorized (No valid session)
200:
description: Search results
schema:
properties:
total_count:
type: number
format: int64
description: "Total number of possible results to be filtered"
scanned:
type: number
format: int64
description: Number of scanned items
continue:
type: number
format: int64
description: Reference of the last item to continue fetching more items.
items:
type: array
description: Found items
items:
$ref: '#/definitions/MediaListItem'

"/api/random":
get:
Expand Down
2 changes: 1 addition & 1 deletion static/last_release.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "1.16.1"
"version": "1.17.0"
}

0 comments on commit 9ef2099

Please sign in to comment.