This commit is contained in:
@@ -0,0 +1,84 @@
|
||||
query {
|
||||
findPerformers {
|
||||
performers {
|
||||
id
|
||||
name
|
||||
alias_list
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query {
|
||||
findPerformers {
|
||||
count
|
||||
performers {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query FindImages {
|
||||
findImages(
|
||||
image_filter: {}
|
||||
filter: { q: "", page: 1, per_page: 20, sort: "created_at", direction: DESC }
|
||||
) {
|
||||
count
|
||||
images {
|
||||
id
|
||||
title
|
||||
tags{
|
||||
name
|
||||
}
|
||||
|
||||
paths {
|
||||
image
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetImageFiles {
|
||||
findImages(filter: { per_page: 20 }) {
|
||||
images {
|
||||
id
|
||||
title
|
||||
tags {
|
||||
id
|
||||
}
|
||||
files {
|
||||
path
|
||||
basename
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query FindImageByPath {
|
||||
findImages(
|
||||
image_filter: { path: { value: "/data/1563-01.jpg", modifier: EQUALS } }
|
||||
) {
|
||||
images {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
amateur-have-be-our-favourite-position-fm-MsM3gC.jpg
|
||||
|
||||
mutation UpdateImageTags($imageId: ID!, $newTagIds: [ID!]) {
|
||||
imageUpdate(input: {
|
||||
id: "58",
|
||||
tag_ids: "5"
|
||||
}) {
|
||||
id
|
||||
tags {
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
curl -X POST -H "ApiKey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJwaS11eC1jZSIsInN1YiI6IkFQSUtleSIsImlhdCI6MTc2OTI3MDg0NX0._E6j5vMFV087KrNSjAmF3tVun39-ZXEpTIva9cLRR4Y" -H "Content-Type: application/json" --data '{ "query": "query {findPerformers {performers{id name}}}"}' https://stash.tryton.geeraert.eu/graphql
|
||||
|
||||
Reference in New Issue
Block a user