Skip to content

rijine/ads-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

Graphql

Schema Changes + branch update

run go run cmd/gen/bson.go

File Uploads

Using postman [form-data]

Single file

POST
{ 
   operations: {"query":"mutation ImageUpload($picture: Upload!) {\n  uploadImage(picture: $picture, kind:\"post\")\n}","variables":{"picture":null}}
    map : { "0":  ["variables.picture"]}
    0: <File>
}

Multiple Files

POST
{ 
   operations: {"query":"mutation($req: [Upload!]) {\n  uploadImages(pictures: $req)\n}\n", "variables": { "req": [ null, null ] }}
    map : { "0": ["variables.req.0"], "1": ["variables.req.1"] }
    0: <File>
    1: <File>
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages