Skip to content

biggylabs/yourviews-graphql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YourViews GraphQL resolvers

To add your YourViews token you must create a file in VBase at the secret_keys bucket called keys.json with this format:

{
  "yourviewsToken": "<token>",
  "appId": "<appId>"
}

Example curl:

curl --request PUT \
  --url http://vbase.aws-us-east-1.vtex.io/<account>/<workspace>/buckets/vtex.yourviews-graphql/secret_keys/files/keys.json \
  --header 'authorization: <vtex token>' \
  --header 'content-type: application/json' \
  --data '{
  "yourviewsToken": "<yourviews token>",
  "appId": "<appId>"
}'

To grab your vtex token, run on the terminal:

vtex local token

About

GraphQL resolvers for YourViews APIs

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 96.4%
  • Shell 3.6%