Skip to content

A skeletal version of the sticky note app to be used as a springboard for a code along class

Notifications You must be signed in to change notification settings

dpawluk/stick_note_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sticky Note App

This app is a sticky note app for zendesk that uses custom resources, before using this app you will need to perform two curl requests to install the necessary resource and relationship types

Installing the resource types and relationship types:

Please use the below curl commands and remember to replace the values below:

-- SUBDOMAIN -- username and password

Alternatively, download the bash scipt that will install these with prompts here:

https://gist.github.com/dpawluk/6cda1d0af0cb1699a2ea79a44e2ad129

Install note resource_type

curl https://SUBDOMAIN.zendesk.com/api/custom_resources/resource_types -u [email protected]/token:TOKEN \
-H "Content-type: application/json" -X POST \
-d '{ "data": { "key": "sticky_note", "schema": { "properties": { "note": { "type": "string", "description": "The of the sticky note" } }, "required": [ "note" ] } } }'

Install user_to_note relationship_type

curl https://SUBDOMAIN.zendesk.com/api/custom_resources/relationship_types -u [email protected]/token:TOKEN \
-H "Content-type: application/json" -X POST \
-d '{ "data": { "key": "user_to_note", "source": ["zen:user"], "target": "sticky_note" } }'

Screenshot(s):

About

A skeletal version of the sticky note app to be used as a springboard for a code along class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published