Added API project.
This commit is contained in:
56
JSMR.Api/JSMR.Api.http
Normal file
56
JSMR.Api/JSMR.Api.http
Normal file
@@ -0,0 +1,56 @@
|
||||
@host = http://localhost:5226
|
||||
@contentType = application/json
|
||||
|
||||
### Search tags by name
|
||||
POST {{host}}/api/tags/search
|
||||
Content-Type: {{contentType}}
|
||||
|
||||
{
|
||||
"options": {
|
||||
"criteria": {
|
||||
"name": "Heart"
|
||||
},
|
||||
"pageNumber": 1,
|
||||
"pageSize": 10
|
||||
}
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
### Search voice works with circle filter
|
||||
POST {{host}}/api/voiceworks/search
|
||||
Content-Type: {{contentType}}
|
||||
|
||||
{
|
||||
"options": {
|
||||
"criteria": {
|
||||
"circleStatus": "Favorited",
|
||||
"releaseDateStart": "2023-01-01",
|
||||
"releaseDateEnd": "2024-12-31",
|
||||
"locale": "English",
|
||||
"supportedLanguages": ["English"]
|
||||
},
|
||||
"pageNumber": 1,
|
||||
"pageSize": 20,
|
||||
"sortOptions": [
|
||||
{ "field": "Downloads", "direction": "Descending" }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
### Search voice works with keywords
|
||||
POST {{host}}/api/voiceworks/search
|
||||
Content-Type: {{contentType}}
|
||||
|
||||
{
|
||||
"options": {
|
||||
"criteria": {
|
||||
"keywords": "tsundere maid"
|
||||
},
|
||||
"pageNumber": 1,
|
||||
"pageSize": 20,
|
||||
"sortOptions": [
|
||||
{ "field": "Downloads", "direction": "Descending" }
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user