|
2 | 2 | A fake implementation of the Vuforia Web Services API. |
3 | 3 |
|
4 | 4 | See |
5 | | -https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API |
| 5 | +https://library.vuforia.com/web-api/cloud-targets-web-services-api |
6 | 6 | """ |
7 | 7 |
|
8 | 8 | import base64 |
@@ -144,7 +144,7 @@ def add_target() -> Response: |
144 | 144 | Add a target. |
145 | 145 |
|
146 | 146 | Fake implementation of |
147 | | - https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Add-a-Target |
| 147 | + https://library.vuforia.com/web-api/cloud-targets-web-services-api#add |
148 | 148 | """ |
149 | 149 | settings = VWSSettings.model_validate(obj={}) |
150 | 150 | databases = get_all_databases() |
@@ -217,7 +217,7 @@ def get_target(target_id: str) -> Response: |
217 | 217 | Get details of a target. |
218 | 218 |
|
219 | 219 | Fake implementation of |
220 | | - https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Retrieve-a-Target-Record |
| 220 | + https://library.vuforia.com/web-api/cloud-targets-web-services-api#target-record |
221 | 221 | """ |
222 | 222 | databases = get_all_databases() |
223 | 223 | database = get_database_matching_server_keys( |
@@ -271,7 +271,7 @@ def delete_target(target_id: str) -> Response: |
271 | 271 | Delete a target. |
272 | 272 |
|
273 | 273 | Fake implementation of |
274 | | - https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Delete-a-Target |
| 274 | + https://library.vuforia.com/web-api/cloud-targets-web-services-api#delete |
275 | 275 | """ |
276 | 276 | settings = VWSSettings.model_validate(obj={}) |
277 | 277 | databases = get_all_databases() |
@@ -324,7 +324,7 @@ def database_summary() -> Response: |
324 | 324 | Get a database summary report. |
325 | 325 |
|
326 | 326 | Fake implementation of |
327 | | - https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Get-a-Database-Summary-Report |
| 327 | + https://library.vuforia.com/web-api/cloud-targets-web-services-api#summary-report |
328 | 328 | """ |
329 | 329 | databases = get_all_databases() |
330 | 330 | database = get_database_matching_server_keys( |
@@ -377,7 +377,7 @@ def target_summary(target_id: str) -> Response: |
377 | 377 | Get a summary report for a target. |
378 | 378 |
|
379 | 379 | Fake implementation of |
380 | | - https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Retrieve-a-Target-Summary-Report |
| 380 | + https://library.vuforia.com/web-api/cloud-targets-web-services-api#retrieve-report |
381 | 381 | """ |
382 | 382 | databases = get_all_databases() |
383 | 383 | database = get_database_matching_server_keys( |
@@ -428,7 +428,7 @@ def get_duplicates(target_id: str) -> Response: |
428 | 428 | Get targets which may be considered duplicates of a given target. |
429 | 429 |
|
430 | 430 | Fake implementation of |
431 | | - https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Check-for-Duplicate-Targets |
| 431 | + https://library.vuforia.com/web-api/cloud-targets-web-services-api#check |
432 | 432 | """ |
433 | 433 | databases = get_all_databases() |
434 | 434 | settings = VWSSettings.model_validate(obj={}) |
@@ -488,7 +488,7 @@ def target_list() -> Response: |
488 | 488 | Get a list of all targets. |
489 | 489 |
|
490 | 490 | Fake implementation of |
491 | | - https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Get-a-Target-List-for-a-Cloud-Database |
| 491 | + https://library.vuforia.com/web-api/cloud-targets-web-services-api#details-list |
492 | 492 | """ |
493 | 493 | databases = get_all_databases() |
494 | 494 | database = get_database_matching_server_keys( |
@@ -529,7 +529,7 @@ def update_target(target_id: str) -> Response: |
529 | 529 | Update a target. |
530 | 530 |
|
531 | 531 | Fake implementation of |
532 | | - https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Update-a-Target |
| 532 | + https://library.vuforia.com/web-api/cloud-targets-web-services-api#update |
533 | 533 | """ |
534 | 534 | settings = VWSSettings.model_validate(obj={}) |
535 | 535 | # We do not use ``request.get_json(force=True)`` because this only works |
|
0 commit comments