|
1259 | 1259 | "title": "CtfEstimationRegisteredRequest", |
1260 | 1260 | "type": "object" |
1261 | 1261 | }, |
| 1262 | + "FoilHole": { |
| 1263 | + "properties": { |
| 1264 | + "center_x": { |
| 1265 | + "anyOf": [ |
| 1266 | + { |
| 1267 | + "type": "number" |
| 1268 | + }, |
| 1269 | + { |
| 1270 | + "type": "null" |
| 1271 | + } |
| 1272 | + ], |
| 1273 | + "title": "Center X" |
| 1274 | + }, |
| 1275 | + "center_y": { |
| 1276 | + "anyOf": [ |
| 1277 | + { |
| 1278 | + "type": "number" |
| 1279 | + }, |
| 1280 | + { |
| 1281 | + "type": "null" |
| 1282 | + } |
| 1283 | + ], |
| 1284 | + "title": "Center Y" |
| 1285 | + }, |
| 1286 | + "diameter": { |
| 1287 | + "anyOf": [ |
| 1288 | + { |
| 1289 | + "type": "integer" |
| 1290 | + }, |
| 1291 | + { |
| 1292 | + "type": "null" |
| 1293 | + } |
| 1294 | + ], |
| 1295 | + "title": "Diameter" |
| 1296 | + }, |
| 1297 | + "foilhole_id": { |
| 1298 | + "default": "", |
| 1299 | + "title": "Foilhole Id", |
| 1300 | + "type": "string" |
| 1301 | + }, |
| 1302 | + "gridsquare_id": { |
| 1303 | + "anyOf": [ |
| 1304 | + { |
| 1305 | + "type": "string" |
| 1306 | + }, |
| 1307 | + { |
| 1308 | + "type": "null" |
| 1309 | + } |
| 1310 | + ], |
| 1311 | + "title": "Gridsquare Id" |
| 1312 | + }, |
| 1313 | + "gridsquare_uuid": { |
| 1314 | + "anyOf": [ |
| 1315 | + { |
| 1316 | + "type": "string" |
| 1317 | + }, |
| 1318 | + { |
| 1319 | + "type": "null" |
| 1320 | + } |
| 1321 | + ], |
| 1322 | + "title": "Gridsquare Uuid" |
| 1323 | + }, |
| 1324 | + "is_near_grid_bar": { |
| 1325 | + "default": false, |
| 1326 | + "title": "Is Near Grid Bar", |
| 1327 | + "type": "boolean" |
| 1328 | + }, |
| 1329 | + "quality": { |
| 1330 | + "anyOf": [ |
| 1331 | + { |
| 1332 | + "type": "number" |
| 1333 | + }, |
| 1334 | + { |
| 1335 | + "type": "null" |
| 1336 | + } |
| 1337 | + ], |
| 1338 | + "title": "Quality" |
| 1339 | + }, |
| 1340 | + "rotation": { |
| 1341 | + "anyOf": [ |
| 1342 | + { |
| 1343 | + "type": "number" |
| 1344 | + }, |
| 1345 | + { |
| 1346 | + "type": "null" |
| 1347 | + } |
| 1348 | + ], |
| 1349 | + "title": "Rotation" |
| 1350 | + }, |
| 1351 | + "size_height": { |
| 1352 | + "anyOf": [ |
| 1353 | + { |
| 1354 | + "type": "number" |
| 1355 | + }, |
| 1356 | + { |
| 1357 | + "type": "null" |
| 1358 | + } |
| 1359 | + ], |
| 1360 | + "title": "Size Height" |
| 1361 | + }, |
| 1362 | + "size_width": { |
| 1363 | + "anyOf": [ |
| 1364 | + { |
| 1365 | + "type": "number" |
| 1366 | + }, |
| 1367 | + { |
| 1368 | + "type": "null" |
| 1369 | + } |
| 1370 | + ], |
| 1371 | + "title": "Size Width" |
| 1372 | + }, |
| 1373 | + "status": { |
| 1374 | + "$ref": "#/components/schemas/FoilHoleStatus", |
| 1375 | + "default": "none" |
| 1376 | + }, |
| 1377 | + "uuid": { |
| 1378 | + "title": "Uuid", |
| 1379 | + "type": "string" |
| 1380 | + }, |
| 1381 | + "x_location": { |
| 1382 | + "anyOf": [ |
| 1383 | + { |
| 1384 | + "type": "integer" |
| 1385 | + }, |
| 1386 | + { |
| 1387 | + "type": "null" |
| 1388 | + } |
| 1389 | + ], |
| 1390 | + "title": "X Location" |
| 1391 | + }, |
| 1392 | + "x_stage_position": { |
| 1393 | + "anyOf": [ |
| 1394 | + { |
| 1395 | + "type": "number" |
| 1396 | + }, |
| 1397 | + { |
| 1398 | + "type": "null" |
| 1399 | + } |
| 1400 | + ], |
| 1401 | + "title": "X Stage Position" |
| 1402 | + }, |
| 1403 | + "y_location": { |
| 1404 | + "anyOf": [ |
| 1405 | + { |
| 1406 | + "type": "integer" |
| 1407 | + }, |
| 1408 | + { |
| 1409 | + "type": "null" |
| 1410 | + } |
| 1411 | + ], |
| 1412 | + "title": "Y Location" |
| 1413 | + }, |
| 1414 | + "y_stage_position": { |
| 1415 | + "anyOf": [ |
| 1416 | + { |
| 1417 | + "type": "number" |
| 1418 | + }, |
| 1419 | + { |
| 1420 | + "type": "null" |
| 1421 | + } |
| 1422 | + ], |
| 1423 | + "title": "Y Stage Position" |
| 1424 | + } |
| 1425 | + }, |
| 1426 | + "required": [ |
| 1427 | + "uuid" |
| 1428 | + ], |
| 1429 | + "title": "FoilHole", |
| 1430 | + "type": "object" |
| 1431 | + }, |
1262 | 1432 | "FoilHoleCreateRequest": { |
1263 | 1433 | "properties": { |
1264 | 1434 | "center_x": { |
|
4745 | 4915 | "info": { |
4746 | 4916 | "description": "API for accessing and managing electron microscopy data", |
4747 | 4917 | "title": "SmartEM Decisions Backend API", |
4748 | | - "version": "0.1.1rc51.dev1+g82cdf57b1" |
| 4918 | + "version": "0.1.1rc51.dev5+gd3d8680e8" |
4749 | 4919 | }, |
4750 | 4920 | "openapi": "3.1.0", |
4751 | 4921 | "paths": { |
|
7329 | 7499 | "summary": "Get Gridsquare Image" |
7330 | 7500 | } |
7331 | 7501 | }, |
| 7502 | + "/gridsquares/{gridsquare_uuid}/prediction_model/{prediction_model_name}/latent_rep/{latent_rep_model_name}/suggested_holes": { |
| 7503 | + "get": { |
| 7504 | + "operationId": "get_suggested_hole_collections_gridsquares__gridsquare_uuid__prediction_model__prediction_model_name__latent_rep__latent_rep_model_name__suggested_holes_get", |
| 7505 | + "parameters": [ |
| 7506 | + { |
| 7507 | + "in": "path", |
| 7508 | + "name": "gridsquare_uuid", |
| 7509 | + "required": true, |
| 7510 | + "schema": { |
| 7511 | + "title": "Gridsquare Uuid", |
| 7512 | + "type": "string" |
| 7513 | + } |
| 7514 | + }, |
| 7515 | + { |
| 7516 | + "in": "path", |
| 7517 | + "name": "prediction_model_name", |
| 7518 | + "required": true, |
| 7519 | + "schema": { |
| 7520 | + "title": "Prediction Model Name", |
| 7521 | + "type": "string" |
| 7522 | + } |
| 7523 | + }, |
| 7524 | + { |
| 7525 | + "in": "path", |
| 7526 | + "name": "latent_rep_model_name", |
| 7527 | + "required": true, |
| 7528 | + "schema": { |
| 7529 | + "title": "Latent Rep Model Name", |
| 7530 | + "type": "string" |
| 7531 | + } |
| 7532 | + } |
| 7533 | + ], |
| 7534 | + "responses": { |
| 7535 | + "200": { |
| 7536 | + "content": { |
| 7537 | + "application/json": { |
| 7538 | + "schema": { |
| 7539 | + "items": { |
| 7540 | + "$ref": "#/components/schemas/FoilHole" |
| 7541 | + }, |
| 7542 | + "title": "Response Get Suggested Hole Collections Gridsquares Gridsquare Uuid Prediction Model Prediction Model Name Latent Rep Latent Rep Model Name Suggested Holes Get", |
| 7543 | + "type": "array" |
| 7544 | + } |
| 7545 | + } |
| 7546 | + }, |
| 7547 | + "description": "Successful Response" |
| 7548 | + }, |
| 7549 | + "422": { |
| 7550 | + "content": { |
| 7551 | + "application/json": { |
| 7552 | + "schema": { |
| 7553 | + "$ref": "#/components/schemas/HTTPValidationError" |
| 7554 | + } |
| 7555 | + } |
| 7556 | + }, |
| 7557 | + "description": "Validation Error" |
| 7558 | + } |
| 7559 | + }, |
| 7560 | + "summary": "Get Suggested Hole Collections" |
| 7561 | + } |
| 7562 | + }, |
7332 | 7563 | "/gridsquares/{gridsquare_uuid}/quality_predictions": { |
7333 | 7564 | "get": { |
7334 | 7565 | "description": "Get time ordered predictions for all models that provide them for this square", |
|
0 commit comments