ibm-quantum / Hub-Automation

Apache License 2.0
9 stars 5 forks source link

Back end specific project add/remove #5

Closed kwehden closed 3 years ago

kwehden commented 3 years ago

API endpoint to add/remove a backend asset to/from a specific project

Matt-Stypulkoski commented 3 years ago

For adding a backend from a specific project: POST /Network/{hubName}/Groups/{groupName}/Projects/{projectName}/devices Data required: {"name": "<backend_name>", "priority": <int between 1-10000>}

For deleting a backend from a specific project: DELETE /Network/{hubName}/Groups/{groupName}/Projects/{projectName}/devices/{deviceName}