super-graph/config/allow.list

165 lines
1.7 KiB
Plaintext
Raw Normal View History

2019-07-29 07:49:48 +02:00
# http://localhost:8080/
2019-07-29 07:13:33 +02:00
2019-10-15 08:30:19 +02:00
variables {
"data": [
{
"name": "Protect Ya Neck",
"created_at": "now",
"updated_at": "now"
},
{
"name": "Enter the Wu-Tang",
"created_at": "now",
"updated_at": "now"
}
]
}
mutation {
products(insert: $data) {
id
name
}
}
variables {
"update": {
"name": "Wu-Tang",
"description": "No description needed"
},
"product_id": 1
}
mutation {
products(id: $product_id, update: $update) {
2019-10-01 06:00:15 +02:00
id
name
description
2019-10-01 06:00:15 +02:00
}
}
2019-10-15 08:30:19 +02:00
query {
users {
id
email
picture: avatar
products(limit: 2, where: {price: {gt: 10}}) {
id
name
description
}
}
}
2019-09-06 06:34:23 +02:00
variables {
2019-10-15 08:30:19 +02:00
"data": [
{
"name": "Gumbo1",
"created_at": "now",
"updated_at": "now"
},
{
"name": "Gumbo2",
"created_at": "now",
"updated_at": "now"
}
]
2019-07-29 07:13:33 +02:00
}
2019-09-06 06:34:23 +02:00
mutation {
2019-10-15 08:30:19 +02:00
products(id: 199, delete: true) {
id
name
}
}
2019-10-01 06:00:15 +02:00
query {
products {
2019-10-01 06:00:15 +02:00
id
name
2019-10-15 08:30:19 +02:00
user {
email
}
}
}
variables {
2019-10-15 08:30:19 +02:00
"data": {
"product_id": 5
}
}
mutation {
2019-10-15 08:30:19 +02:00
products(id: $product_id, delete: true) {
id
name
2019-10-01 06:00:15 +02:00
}
}
query {
2019-10-15 08:30:19 +02:00
products {
2019-09-05 06:09:56 +02:00
id
2019-09-06 06:34:23 +02:00
name
2019-10-15 08:30:19 +02:00
price
users {
email
}
}
}
2019-09-26 06:35:31 +02:00
variables {
"data": {
"email": "gfk@myspace.com",
"full_name": "Ghostface Killah",
"created_at": "now",
"updated_at": "now"
}
2019-09-26 06:35:31 +02:00
}
mutation {
user(insert: $data) {
id
}
}
2019-10-15 08:30:19 +02:00
variables {
"update": {
"name": "Helloo",
"description": "World \u003c\u003e"
},
"user": 123
}
mutation {
products(id: 5, update: $update) {
id
name
description
}
}
variables {
2019-11-25 08:22:33 +01:00
"data": {
"name": "WOOO",
"price": 50.5
}
}
2019-11-25 08:22:33 +01:00
mutation {
products(insert: $data) {
2019-10-15 08:30:19 +02:00
id
name
}
}
query getProducts {
2019-10-15 08:30:19 +02:00
products {
2019-09-06 06:34:23 +02:00
id
2019-09-26 06:35:31 +02:00
name
price
description
}
}
2019-10-15 08:30:19 +02:00