Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Apply Hierarchy

curl --location 'https://0a9cf0ca-47bf-4a92-81ea-18800c83b3a3.hello.atlassian-dev.net/x1/Pmj4P-DLISh-JD9NVVwFzQ4HizQ' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHBpcmVzSW4iOiI3IGRheXMiLCJzY29wZSI6WyJhbGwiXSwiYWNjb3VudElkIjoiNjBmNTE5ZDMyYjU2Y2MwMDY5NTU1OWJlIiwiaGFzaCI6IjVlYWEyZDE4NTAxNzhjMzM3MzNkZTc5YjIzYzBlZWZkMDQ0MzIyZjA1NGY1MzRiNjdhZWFhZTMzZWZmOTljYmFhY2MzNmIyYzdhZGUzMTk3YjkxZGI4YmE5ZTk2YjNhZDNjMDVkZGEyZjNiMGE1OWU1YjYxNjg1ODBjMjdmOTI1ODAwYTE0YjAyMWZkN2NmYzQxMDE2YzhjOTk3NDI0ZTEyMzA3ZDYyNmFjZmUwYWJiYzgzN2RhYTc2Y2QzZWJiNGVjOWZhZjExZjllZGU5M2VjZDUyNDkzMThmYmZkMDJlODJkYjE4ZmU2YjhmYjg4MzgzMGMwMzIyZWE5MTY0OTMiLCJpYXQiOjE3MDAxOTY1OTgsImV4cCI6MTcwMDgwMTM5OH0.P9rfoLhJ0QTyJRUnZPceplnGI_jAUFVmekydKOVX6l8' \ --data '{ "entity":"hierScheduler", "type": "edit", "hierId" : "985d5453-94ff-40b0-bf8a-0eb2c4c0714d", "scName": "test3", "CRON": "17 9 * * 6", "repeat": true, "isActive": false, "utcOffset": 120, "utcZone": "Europe/Kiev" }'

Get Status for Applying Hierarchy

curl --location 'https://0a9cf0ca-47bf-4a92-81ea-18800c83b3a3.hello.atlassian-dev.net/x1/Pmj4P-DLISh-JD9NVVwFzQ4HizQ' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHBpcmVzSW4iOiI3IGRheXMiLCJzY29wZSI6WyJhbGwiXSwiYWNjb3VudElkIjoiNjBmNTE5ZDMyYjU2Y2MwMDY5NTU1OWJlIiwiaGFzaCI6IjVlYWEyZDE4NTAxNzhjMzM3MzNkZTc5YjIzYzBlZWZkMDQ0MzIyZjA1NGY1MzRiNjdhZWFhZTMzZWZmOTljYmFhY2MzNmIyYzdhZGUzMTk3YjkxZGI4YmE5ZTk2YjNhZDNjMDVkZGEyZjNiMGE1OWU1YjYxNjg1ODBjMjdmOTI1ODAwYTE0YjAyMWZkN2NmYzQxMDE2YzhjOTk3NDI0ZTEyMzA3ZDYyNmFjZmUwYWJiYzgzN2RhYTc2Y2QzZWJiNGVjOWZhZjExZjllZGU5M2VjZDUyNDkzMThmYmZkMDJlODJkYjE4ZmU2YjhmYjg4MzgzMGMwMzIyZWE5MTY0OTMiLCJpYXQiOjE3MDAxOTY1OTgsImV4cCI6MTcwMDgwMTM5OH0.P9rfoLhJ0QTyJRUnZPceplnGI_jAUFVmekydKOVX6l8' \
--data '{
"entity":"getHierStatus",
"task" : "queue-name4#dd354fbf-b964-46a7-b1a1-f17393737720"
}'

Create Hierarchy Scheduler

curl --location 'https://0a9cf0ca-47bf-4a92-81ea-18800c83b3a3.hello.atlassian-dev.net/x1/Pmj4P-DLISh-JD9NVVwFzQ4HizQ' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHBpcmVzSW4iOiI3IGRheXMiLCJzY29wZSI6WyJhbGwiXSwiYWNjb3VudElkIjoiNjBmNTE5ZDMyYjU2Y2MwMDY5NTU1OWJlIiwiaGFzaCI6IjVlYWEyZDE4NTAxNzhjMzM3MzNkZTc5YjIzYzBlZWZkMDQ0MzIyZjA1NGY1MzRiNjdhZWFhZTMzZWZmOTljYmFhY2MzNmIyYzdhZGUzMTk3YjkxZGI4YmE5ZTk2YjNhZDNjMDVkZGEyZjNiMGE1OWU1YjYxNjg1ODBjMjdmOTI1ODAwYTE0YjAyMWZkN2NmYzQxMDE2YzhjOTk3NDI0ZTEyMzA3ZDYyNmFjZmUwYWJiYzgzN2RhYTc2Y2QzZWJiNGVjOWZhZjExZjllZGU5M2VjZDUyNDkzMThmYmZkMDJlODJkYjE4ZmU2YjhmYjg4MzgzMGMwMzIyZWE5MTY0OTMiLCJpYXQiOjE3MDAxOTY1OTgsImV4cCI6MTcwMDgwMTM5OH0.P9rfoLhJ0QTyJRUnZPceplnGI_jAUFVmekydKOVX6l8' \
--data '{
"entity":"hierScheduler",
"type": "create",
"hierId" : "985d5453-94ff-40b0-bf8a-0eb2c4c0714d",
"scName": "test3",
"CRON": "17 9 * * 6",
"repeat": true,
"isActive": true,
"utcOffset": 120,
"utcZone": "Europe/Kiev"
}'

Update Hierarchy Scheduler

curl --location 'https://0a9cf0ca-47bf-4a92-81ea-18800c83b3a3.hello.atlassian-dev.net/x1/Pmj4P-DLISh-JD9NVVwFzQ4HizQ' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHBpcmVzSW4iOiI3IGRheXMiLCJzY29wZSI6WyJhbGwiXSwiYWNjb3VudElkIjoiNjBmNTE5ZDMyYjU2Y2MwMDY5NTU1OWJlIiwiaGFzaCI6IjVlYWEyZDE4NTAxNzhjMzM3MzNkZTc5YjIzYzBlZWZkMDQ0MzIyZjA1NGY1MzRiNjdhZWFhZTMzZWZmOTljYmFhY2MzNmIyYzdhZGUzMTk3YjkxZGI4YmE5ZTk2YjNhZDNjMDVkZGEyZjNiMGE1OWU1YjYxNjg1ODBjMjdmOTI1ODAwYTE0YjAyMWZkN2NmYzQxMDE2YzhjOTk3NDI0ZTEyMzA3ZDYyNmFjZmUwYWJiYzgzN2RhYTc2Y2QzZWJiNGVjOWZhZjExZjllZGU5M2VjZDUyNDkzMThmYmZkMDJlODJkYjE4ZmU2YjhmYjg4MzgzMGMwMzIyZWE5MTY0OTMiLCJpYXQiOjE3MDAxOTY1OTgsImV4cCI6MTcwMDgwMTM5OH0.P9rfoLhJ0QTyJRUnZPceplnGI_jAUFVmekydKOVX6l8' \
--data '{
"entity":"hierScheduler",
"type": "edit",
"hierId" : "985d5453-94ff-40b0-bf8a-0eb2c4c0714d",
"scName": "test3",
"CRON": "17 9 * * 6",
"repeat": true,
"isActive": false,
"utcOffset": 120,
"utcZone": "Europe/Kiev"

}'

  • No labels