Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

3860 řádky
110 KiB

  1. {
  2. "openapi": "3.1.0",
  3. "info": {
  4. "title": "MajorNet APIs",
  5. "version": "1.0"
  6. },
  7. "paths": {
  8. "/auth/login": {
  9. "post": {
  10. "summary": "Login",
  11. "description": "Logs in the user provided by form_data.username and form_data.password",
  12. "operationId": "login_auth_login_post",
  13. "requestBody": {
  14. "content": {
  15. "application/x-www-form-urlencoded": {
  16. "schema": {
  17. "$ref": "#/components/schemas/Body_login_auth_login_post"
  18. }
  19. }
  20. },
  21. "required": true
  22. },
  23. "responses": {
  24. "200": {
  25. "description": "Successful Response",
  26. "content": {
  27. "application/json": {
  28. "schema": {
  29. "$ref": "#/components/schemas/Token"
  30. }
  31. }
  32. }
  33. },
  34. "422": {
  35. "description": "Validation Error",
  36. "content": {
  37. "application/json": {
  38. "schema": {
  39. "$ref": "#/components/schemas/HTTPValidationError"
  40. }
  41. }
  42. }
  43. }
  44. }
  45. }
  46. },
  47. "/user/profili": {
  48. "get": {
  49. "summary": "Get Profili",
  50. "operationId": "get_profili_user_profili_get",
  51. "responses": {
  52. "200": {
  53. "description": "Successful Response",
  54. "content": {
  55. "application/json": {
  56. "schema": {}
  57. }
  58. }
  59. }
  60. },
  61. "security": [
  62. {
  63. "MyLoginManager": []
  64. }
  65. ]
  66. }
  67. },
  68. "/user/{username}": {
  69. "get": {
  70. "summary": "Read User",
  71. "operationId": "read_user_user__username__get",
  72. "security": [
  73. {
  74. "MyLoginManager": [
  75. "required",
  76. "is_admin"
  77. ]
  78. },
  79. {
  80. "MyLoginManager": []
  81. }
  82. ],
  83. "parameters": [
  84. {
  85. "name": "username",
  86. "in": "path",
  87. "required": true,
  88. "schema": {
  89. "title": "Username"
  90. }
  91. }
  92. ],
  93. "responses": {
  94. "200": {
  95. "description": "Successful Response",
  96. "content": {
  97. "application/json": {
  98. "schema": {}
  99. }
  100. }
  101. },
  102. "422": {
  103. "description": "Validation Error",
  104. "content": {
  105. "application/json": {
  106. "schema": {
  107. "$ref": "#/components/schemas/HTTPValidationError"
  108. }
  109. }
  110. }
  111. }
  112. }
  113. },
  114. "delete": {
  115. "summary": "Delete User",
  116. "operationId": "delete_user_user__username__delete",
  117. "security": [
  118. {
  119. "MyLoginManager": [
  120. "required",
  121. "is_admin"
  122. ]
  123. },
  124. {
  125. "MyLoginManager": []
  126. }
  127. ],
  128. "parameters": [
  129. {
  130. "name": "username",
  131. "in": "path",
  132. "required": true,
  133. "schema": {
  134. "type": "string",
  135. "title": "Username"
  136. }
  137. }
  138. ],
  139. "responses": {
  140. "200": {
  141. "description": "Successful Response",
  142. "content": {
  143. "application/json": {
  144. "schema": {}
  145. }
  146. }
  147. },
  148. "422": {
  149. "description": "Validation Error",
  150. "content": {
  151. "application/json": {
  152. "schema": {
  153. "$ref": "#/components/schemas/HTTPValidationError"
  154. }
  155. }
  156. }
  157. }
  158. }
  159. }
  160. },
  161. "/presence/settings": {
  162. "get": {
  163. "tags": [
  164. "Presense"
  165. ],
  166. "summary": "Route Ring",
  167. "operationId": "route_ring_presence_settings_get",
  168. "security": [
  169. {
  170. "MyLoginManager": []
  171. }
  172. ],
  173. "parameters": [
  174. {
  175. "name": "calledNumber",
  176. "in": "query",
  177. "required": false,
  178. "schema": {
  179. "title": "Callednumber"
  180. }
  181. },
  182. {
  183. "name": "calledId",
  184. "in": "query",
  185. "required": false,
  186. "schema": {
  187. "title": "Calledid"
  188. }
  189. },
  190. {
  191. "name": "ringTime",
  192. "in": "query",
  193. "required": false,
  194. "schema": {
  195. "title": "Ringtime"
  196. }
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "Successful Response",
  202. "content": {
  203. "application/json": {
  204. "schema": {}
  205. }
  206. }
  207. },
  208. "422": {
  209. "description": "Validation Error",
  210. "content": {
  211. "application/json": {
  212. "schema": {
  213. "$ref": "#/components/schemas/HTTPValidationError"
  214. }
  215. }
  216. }
  217. }
  218. }
  219. }
  220. },
  221. "/majornet/users/": {
  222. "get": {
  223. "tags": [
  224. "MajorNet"
  225. ],
  226. "summary": "Get Majornet Users",
  227. "operationId": "get_majornet_users_majornet_users__get",
  228. "responses": {
  229. "200": {
  230. "description": "Successful Response",
  231. "content": {
  232. "application/json": {
  233. "schema": {
  234. "$ref": "#/components/schemas/httpResponse200"
  235. }
  236. }
  237. }
  238. },
  239. "400": {
  240. "description": "Bad Request",
  241. "content": {
  242. "application/json": {
  243. "schema": {
  244. "$ref": "#/components/schemas/httpResponse400"
  245. }
  246. }
  247. }
  248. },
  249. "500": {
  250. "description": "Internal Server Error",
  251. "content": {
  252. "application/json": {
  253. "schema": {
  254. "$ref": "#/components/schemas/httpResponse500"
  255. }
  256. }
  257. }
  258. }
  259. },
  260. "security": [
  261. {
  262. "MyLoginManager": []
  263. }
  264. ]
  265. }
  266. },
  267. "/majornet/users/add_user/": {
  268. "post": {
  269. "tags": [
  270. "MajorNet"
  271. ],
  272. "summary": "Majornet Add User",
  273. "operationId": "majornet_add_user_majornet_users_add_user__post",
  274. "security": [
  275. {
  276. "MyLoginManager": []
  277. }
  278. ],
  279. "parameters": [
  280. {
  281. "name": "mnuser",
  282. "in": "query",
  283. "required": true,
  284. "schema": {
  285. "type": "string",
  286. "title": "Mnuser"
  287. }
  288. },
  289. {
  290. "name": "mnpasswd",
  291. "in": "query",
  292. "required": true,
  293. "schema": {
  294. "type": "string",
  295. "title": "Mnpasswd"
  296. }
  297. },
  298. {
  299. "name": "mndisplayname",
  300. "in": "query",
  301. "required": true,
  302. "schema": {
  303. "type": "string",
  304. "title": "Mndisplayname"
  305. }
  306. },
  307. {
  308. "name": "mnmail",
  309. "in": "query",
  310. "required": false,
  311. "schema": {
  312. "default": "",
  313. "title": "Mnmail"
  314. }
  315. },
  316. {
  317. "name": "mnprofile",
  318. "in": "query",
  319. "required": false,
  320. "schema": {
  321. "default": "default",
  322. "title": "Mnprofile"
  323. }
  324. }
  325. ],
  326. "responses": {
  327. "200": {
  328. "description": "Successful Response",
  329. "content": {
  330. "application/json": {
  331. "schema": {
  332. "$ref": "#/components/schemas/post_mnuser"
  333. }
  334. }
  335. }
  336. },
  337. "422": {
  338. "description": "Validation Error",
  339. "content": {
  340. "application/json": {
  341. "schema": {
  342. "$ref": "#/components/schemas/HTTPValidationError"
  343. }
  344. }
  345. }
  346. }
  347. }
  348. }
  349. },
  350. "/majortel/contacts/username/{username}/password/{password}/addressbook/{addressbook}/": {
  351. "get": {
  352. "tags": [
  353. "Majortel"
  354. ],
  355. "summary": "Get Majortel Contacts",
  356. "operationId": "get_majortel_contacts_majortel_contacts_username__username__password__password__addressbook__addressbook___get",
  357. "parameters": [
  358. {
  359. "name": "username",
  360. "in": "path",
  361. "required": true,
  362. "schema": {
  363. "title": "Username"
  364. }
  365. },
  366. {
  367. "name": "password",
  368. "in": "path",
  369. "required": true,
  370. "schema": {
  371. "title": "Password"
  372. }
  373. },
  374. {
  375. "name": "addressbook",
  376. "in": "path",
  377. "required": true,
  378. "schema": {
  379. "title": "Addressbook"
  380. }
  381. }
  382. ],
  383. "responses": {
  384. "200": {
  385. "description": "Successful Response",
  386. "content": {
  387. "application/json": {
  388. "schema": {
  389. "$ref": "#/components/schemas/httpResponse200"
  390. }
  391. }
  392. }
  393. },
  394. "400": {
  395. "content": {
  396. "application/json": {
  397. "schema": {
  398. "$ref": "#/components/schemas/httpResponse400"
  399. }
  400. }
  401. },
  402. "description": "Bad Request"
  403. },
  404. "500": {
  405. "content": {
  406. "application/json": {
  407. "schema": {
  408. "$ref": "#/components/schemas/httpResponse500"
  409. }
  410. }
  411. },
  412. "description": "Internal Server Error"
  413. },
  414. "422": {
  415. "description": "Validation Error",
  416. "content": {
  417. "application/json": {
  418. "schema": {
  419. "$ref": "#/components/schemas/HTTPValidationError"
  420. }
  421. }
  422. }
  423. }
  424. }
  425. }
  426. },
  427. "/majortel/contacts/username/{username}/password/{password}/addressbook/{addressbook}/microsip/": {
  428. "get": {
  429. "tags": [
  430. "Majortel"
  431. ],
  432. "summary": "Get Majortel Contacts Microsip",
  433. "operationId": "get_majortel_contacts_microsip_majortel_contacts_username__username__password__password__addressbook__addressbook__microsip__get",
  434. "parameters": [
  435. {
  436. "name": "username",
  437. "in": "path",
  438. "required": true,
  439. "schema": {
  440. "title": "Username"
  441. }
  442. },
  443. {
  444. "name": "password",
  445. "in": "path",
  446. "required": true,
  447. "schema": {
  448. "title": "Password"
  449. }
  450. },
  451. {
  452. "name": "addressbook",
  453. "in": "path",
  454. "required": true,
  455. "schema": {
  456. "title": "Addressbook"
  457. }
  458. }
  459. ],
  460. "responses": {
  461. "200": {
  462. "description": "Successful Response",
  463. "content": {
  464. "application/json": {
  465. "schema": {
  466. "$ref": "#/components/schemas/httpResponse200"
  467. }
  468. }
  469. }
  470. },
  471. "400": {
  472. "content": {
  473. "application/json": {
  474. "schema": {
  475. "$ref": "#/components/schemas/httpResponse400"
  476. }
  477. }
  478. },
  479. "description": "Bad Request"
  480. },
  481. "500": {
  482. "content": {
  483. "application/json": {
  484. "schema": {
  485. "$ref": "#/components/schemas/httpResponse500"
  486. }
  487. }
  488. },
  489. "description": "Internal Server Error"
  490. },
  491. "422": {
  492. "description": "Validation Error",
  493. "content": {
  494. "application/json": {
  495. "schema": {
  496. "$ref": "#/components/schemas/HTTPValidationError"
  497. }
  498. }
  499. }
  500. }
  501. }
  502. }
  503. },
  504. "/reslevis/getGateways": {
  505. "get": {
  506. "tags": [
  507. "Reslevis",
  508. "Reslevis"
  509. ],
  510. "summary": "Getgateways",
  511. "operationId": "getGateways_reslevis_getGateways_get",
  512. "responses": {
  513. "200": {
  514. "description": "Successful Response",
  515. "content": {
  516. "application/json": {
  517. "schema": {
  518. "items": {
  519. "$ref": "#/components/schemas/GatewayItem"
  520. },
  521. "type": "array",
  522. "title": "Response Getgateways Reslevis Getgateways Get"
  523. }
  524. }
  525. }
  526. }
  527. },
  528. "security": [
  529. {
  530. "HTTPBearer": []
  531. }
  532. ]
  533. }
  534. },
  535. "/reslevis/postGateway": {
  536. "post": {
  537. "tags": [
  538. "Reslevis",
  539. "Reslevis"
  540. ],
  541. "summary": "Postgateway",
  542. "operationId": "postGateway_reslevis_postGateway_post",
  543. "requestBody": {
  544. "content": {
  545. "application/json": {
  546. "schema": {
  547. "$ref": "#/components/schemas/GatewayItem"
  548. }
  549. }
  550. },
  551. "required": true
  552. },
  553. "responses": {
  554. "200": {
  555. "description": "Successful Response",
  556. "content": {
  557. "application/json": {
  558. "schema": {}
  559. }
  560. }
  561. },
  562. "422": {
  563. "description": "Validation Error",
  564. "content": {
  565. "application/json": {
  566. "schema": {
  567. "$ref": "#/components/schemas/HTTPValidationError"
  568. }
  569. }
  570. }
  571. }
  572. },
  573. "security": [
  574. {
  575. "HTTPBearer": []
  576. }
  577. ]
  578. }
  579. },
  580. "/reslevis/updateGateway": {
  581. "put": {
  582. "tags": [
  583. "Reslevis",
  584. "Reslevis"
  585. ],
  586. "summary": "Updategateway",
  587. "operationId": "updateGateway_reslevis_updateGateway_put",
  588. "requestBody": {
  589. "content": {
  590. "application/json": {
  591. "schema": {
  592. "$ref": "#/components/schemas/GatewayItem"
  593. }
  594. }
  595. },
  596. "required": true
  597. },
  598. "responses": {
  599. "200": {
  600. "description": "Successful Response",
  601. "content": {
  602. "application/json": {
  603. "schema": {}
  604. }
  605. }
  606. },
  607. "422": {
  608. "description": "Validation Error",
  609. "content": {
  610. "application/json": {
  611. "schema": {
  612. "$ref": "#/components/schemas/HTTPValidationError"
  613. }
  614. }
  615. }
  616. }
  617. },
  618. "security": [
  619. {
  620. "HTTPBearer": []
  621. }
  622. ]
  623. }
  624. },
  625. "/reslevis/removeGateway/{gateway_id}": {
  626. "delete": {
  627. "tags": [
  628. "Reslevis",
  629. "Reslevis"
  630. ],
  631. "summary": "Removegateway",
  632. "operationId": "removeGateway_reslevis_removeGateway__gateway_id__delete",
  633. "security": [
  634. {
  635. "HTTPBearer": []
  636. }
  637. ],
  638. "parameters": [
  639. {
  640. "name": "gateway_id",
  641. "in": "path",
  642. "required": true,
  643. "schema": {
  644. "type": "string",
  645. "title": "Gateway Id"
  646. }
  647. }
  648. ],
  649. "responses": {
  650. "200": {
  651. "description": "Successful Response",
  652. "content": {
  653. "application/json": {
  654. "schema": {}
  655. }
  656. }
  657. },
  658. "422": {
  659. "description": "Validation Error",
  660. "content": {
  661. "application/json": {
  662. "schema": {
  663. "$ref": "#/components/schemas/HTTPValidationError"
  664. }
  665. }
  666. }
  667. }
  668. }
  669. }
  670. },
  671. "/reslevis/getBuildings": {
  672. "get": {
  673. "tags": [
  674. "Reslevis",
  675. "Reslevis"
  676. ],
  677. "summary": "Getbuildings",
  678. "operationId": "getBuildings_reslevis_getBuildings_get",
  679. "responses": {
  680. "200": {
  681. "description": "Successful Response",
  682. "content": {
  683. "application/json": {
  684. "schema": {
  685. "items": {
  686. "$ref": "#/components/schemas/BuildingItem"
  687. },
  688. "type": "array",
  689. "title": "Response Getbuildings Reslevis Getbuildings Get"
  690. }
  691. }
  692. }
  693. }
  694. },
  695. "security": [
  696. {
  697. "HTTPBearer": []
  698. }
  699. ]
  700. }
  701. },
  702. "/reslevis/postBuilding": {
  703. "post": {
  704. "tags": [
  705. "Reslevis",
  706. "Reslevis"
  707. ],
  708. "summary": "Postbuilding",
  709. "operationId": "postBuilding_reslevis_postBuilding_post",
  710. "requestBody": {
  711. "content": {
  712. "application/json": {
  713. "schema": {
  714. "$ref": "#/components/schemas/BuildingItem"
  715. }
  716. }
  717. },
  718. "required": true
  719. },
  720. "responses": {
  721. "200": {
  722. "description": "Successful Response",
  723. "content": {
  724. "application/json": {
  725. "schema": {}
  726. }
  727. }
  728. },
  729. "422": {
  730. "description": "Validation Error",
  731. "content": {
  732. "application/json": {
  733. "schema": {
  734. "$ref": "#/components/schemas/HTTPValidationError"
  735. }
  736. }
  737. }
  738. }
  739. },
  740. "security": [
  741. {
  742. "HTTPBearer": []
  743. }
  744. ]
  745. }
  746. },
  747. "/reslevis/updateBuilding": {
  748. "put": {
  749. "tags": [
  750. "Reslevis",
  751. "Reslevis"
  752. ],
  753. "summary": "Updatebuilding",
  754. "operationId": "updateBuilding_reslevis_updateBuilding_put",
  755. "requestBody": {
  756. "content": {
  757. "application/json": {
  758. "schema": {
  759. "$ref": "#/components/schemas/BuildingItem"
  760. }
  761. }
  762. },
  763. "required": true
  764. },
  765. "responses": {
  766. "200": {
  767. "description": "Successful Response",
  768. "content": {
  769. "application/json": {
  770. "schema": {}
  771. }
  772. }
  773. },
  774. "422": {
  775. "description": "Validation Error",
  776. "content": {
  777. "application/json": {
  778. "schema": {
  779. "$ref": "#/components/schemas/HTTPValidationError"
  780. }
  781. }
  782. }
  783. }
  784. },
  785. "security": [
  786. {
  787. "HTTPBearer": []
  788. }
  789. ]
  790. }
  791. },
  792. "/reslevis/removeBuilding/{building_id}": {
  793. "delete": {
  794. "tags": [
  795. "Reslevis",
  796. "Reslevis"
  797. ],
  798. "summary": "Removebuilding",
  799. "operationId": "removeBuilding_reslevis_removeBuilding__building_id__delete",
  800. "security": [
  801. {
  802. "HTTPBearer": []
  803. }
  804. ],
  805. "parameters": [
  806. {
  807. "name": "building_id",
  808. "in": "path",
  809. "required": true,
  810. "schema": {
  811. "type": "string",
  812. "title": "Building Id"
  813. }
  814. }
  815. ],
  816. "responses": {
  817. "200": {
  818. "description": "Successful Response",
  819. "content": {
  820. "application/json": {
  821. "schema": {}
  822. }
  823. }
  824. },
  825. "422": {
  826. "description": "Validation Error",
  827. "content": {
  828. "application/json": {
  829. "schema": {
  830. "$ref": "#/components/schemas/HTTPValidationError"
  831. }
  832. }
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/reslevis/getFloors": {
  839. "get": {
  840. "tags": [
  841. "Reslevis",
  842. "Reslevis"
  843. ],
  844. "summary": "Getfloors",
  845. "operationId": "getFloors_reslevis_getFloors_get",
  846. "responses": {
  847. "200": {
  848. "description": "Successful Response",
  849. "content": {
  850. "application/json": {
  851. "schema": {
  852. "items": {
  853. "$ref": "#/components/schemas/FloorItem"
  854. },
  855. "type": "array",
  856. "title": "Response Getfloors Reslevis Getfloors Get"
  857. }
  858. }
  859. }
  860. }
  861. },
  862. "security": [
  863. {
  864. "HTTPBearer": []
  865. }
  866. ]
  867. }
  868. },
  869. "/reslevis/postFloor": {
  870. "post": {
  871. "tags": [
  872. "Reslevis",
  873. "Reslevis"
  874. ],
  875. "summary": "Postfloor",
  876. "operationId": "postFloor_reslevis_postFloor_post",
  877. "requestBody": {
  878. "content": {
  879. "application/json": {
  880. "schema": {
  881. "$ref": "#/components/schemas/FloorItem"
  882. }
  883. }
  884. },
  885. "required": true
  886. },
  887. "responses": {
  888. "200": {
  889. "description": "Successful Response",
  890. "content": {
  891. "application/json": {
  892. "schema": {}
  893. }
  894. }
  895. },
  896. "422": {
  897. "description": "Validation Error",
  898. "content": {
  899. "application/json": {
  900. "schema": {
  901. "$ref": "#/components/schemas/HTTPValidationError"
  902. }
  903. }
  904. }
  905. }
  906. },
  907. "security": [
  908. {
  909. "HTTPBearer": []
  910. }
  911. ]
  912. }
  913. },
  914. "/reslevis/updateFloor": {
  915. "put": {
  916. "tags": [
  917. "Reslevis",
  918. "Reslevis"
  919. ],
  920. "summary": "Updatefloor",
  921. "operationId": "updateFloor_reslevis_updateFloor_put",
  922. "requestBody": {
  923. "content": {
  924. "application/json": {
  925. "schema": {
  926. "$ref": "#/components/schemas/FloorItem"
  927. }
  928. }
  929. },
  930. "required": true
  931. },
  932. "responses": {
  933. "200": {
  934. "description": "Successful Response",
  935. "content": {
  936. "application/json": {
  937. "schema": {}
  938. }
  939. }
  940. },
  941. "422": {
  942. "description": "Validation Error",
  943. "content": {
  944. "application/json": {
  945. "schema": {
  946. "$ref": "#/components/schemas/HTTPValidationError"
  947. }
  948. }
  949. }
  950. }
  951. },
  952. "security": [
  953. {
  954. "HTTPBearer": []
  955. }
  956. ]
  957. }
  958. },
  959. "/reslevis/removeFloor/{floor_id}": {
  960. "delete": {
  961. "tags": [
  962. "Reslevis",
  963. "Reslevis"
  964. ],
  965. "summary": "Removefloor",
  966. "operationId": "removeFloor_reslevis_removeFloor__floor_id__delete",
  967. "security": [
  968. {
  969. "HTTPBearer": []
  970. }
  971. ],
  972. "parameters": [
  973. {
  974. "name": "floor_id",
  975. "in": "path",
  976. "required": true,
  977. "schema": {
  978. "type": "string",
  979. "title": "Floor Id"
  980. }
  981. }
  982. ],
  983. "responses": {
  984. "200": {
  985. "description": "Successful Response",
  986. "content": {
  987. "application/json": {
  988. "schema": {}
  989. }
  990. }
  991. },
  992. "422": {
  993. "description": "Validation Error",
  994. "content": {
  995. "application/json": {
  996. "schema": {
  997. "$ref": "#/components/schemas/HTTPValidationError"
  998. }
  999. }
  1000. }
  1001. }
  1002. }
  1003. }
  1004. },
  1005. "/reslevis/getZones": {
  1006. "get": {
  1007. "tags": [
  1008. "Reslevis",
  1009. "Reslevis"
  1010. ],
  1011. "summary": "Getzones",
  1012. "operationId": "getZones_reslevis_getZones_get",
  1013. "responses": {
  1014. "200": {
  1015. "description": "Successful Response",
  1016. "content": {
  1017. "application/json": {
  1018. "schema": {
  1019. "items": {
  1020. "$ref": "#/components/schemas/ZoneItem"
  1021. },
  1022. "type": "array",
  1023. "title": "Response Getzones Reslevis Getzones Get"
  1024. }
  1025. }
  1026. }
  1027. }
  1028. },
  1029. "security": [
  1030. {
  1031. "HTTPBearer": []
  1032. }
  1033. ]
  1034. }
  1035. },
  1036. "/reslevis/postZone": {
  1037. "post": {
  1038. "tags": [
  1039. "Reslevis",
  1040. "Reslevis"
  1041. ],
  1042. "summary": "Postzone",
  1043. "operationId": "postZone_reslevis_postZone_post",
  1044. "requestBody": {
  1045. "content": {
  1046. "application/json": {
  1047. "schema": {
  1048. "$ref": "#/components/schemas/ZoneItem"
  1049. }
  1050. }
  1051. },
  1052. "required": true
  1053. },
  1054. "responses": {
  1055. "200": {
  1056. "description": "Successful Response",
  1057. "content": {
  1058. "application/json": {
  1059. "schema": {}
  1060. }
  1061. }
  1062. },
  1063. "422": {
  1064. "description": "Validation Error",
  1065. "content": {
  1066. "application/json": {
  1067. "schema": {
  1068. "$ref": "#/components/schemas/HTTPValidationError"
  1069. }
  1070. }
  1071. }
  1072. }
  1073. },
  1074. "security": [
  1075. {
  1076. "HTTPBearer": []
  1077. }
  1078. ]
  1079. }
  1080. },
  1081. "/reslevis/updateZone": {
  1082. "put": {
  1083. "tags": [
  1084. "Reslevis",
  1085. "Reslevis"
  1086. ],
  1087. "summary": "Updatezone",
  1088. "operationId": "updateZone_reslevis_updateZone_put",
  1089. "requestBody": {
  1090. "content": {
  1091. "application/json": {
  1092. "schema": {
  1093. "$ref": "#/components/schemas/ZoneItem"
  1094. }
  1095. }
  1096. },
  1097. "required": true
  1098. },
  1099. "responses": {
  1100. "200": {
  1101. "description": "Successful Response",
  1102. "content": {
  1103. "application/json": {
  1104. "schema": {}
  1105. }
  1106. }
  1107. },
  1108. "422": {
  1109. "description": "Validation Error",
  1110. "content": {
  1111. "application/json": {
  1112. "schema": {
  1113. "$ref": "#/components/schemas/HTTPValidationError"
  1114. }
  1115. }
  1116. }
  1117. }
  1118. },
  1119. "security": [
  1120. {
  1121. "HTTPBearer": []
  1122. }
  1123. ]
  1124. }
  1125. },
  1126. "/reslevis/removeZone/{zone_id}": {
  1127. "delete": {
  1128. "tags": [
  1129. "Reslevis",
  1130. "Reslevis"
  1131. ],
  1132. "summary": "Removezone",
  1133. "operationId": "removeZone_reslevis_removeZone__zone_id__delete",
  1134. "security": [
  1135. {
  1136. "HTTPBearer": []
  1137. }
  1138. ],
  1139. "parameters": [
  1140. {
  1141. "name": "zone_id",
  1142. "in": "path",
  1143. "required": true,
  1144. "schema": {
  1145. "type": "string",
  1146. "title": "Zone Id"
  1147. }
  1148. }
  1149. ],
  1150. "responses": {
  1151. "200": {
  1152. "description": "Successful Response",
  1153. "content": {
  1154. "application/json": {
  1155. "schema": {}
  1156. }
  1157. }
  1158. },
  1159. "422": {
  1160. "description": "Validation Error",
  1161. "content": {
  1162. "application/json": {
  1163. "schema": {
  1164. "$ref": "#/components/schemas/HTTPValidationError"
  1165. }
  1166. }
  1167. }
  1168. }
  1169. }
  1170. }
  1171. },
  1172. "/reslevis/getTrackers": {
  1173. "get": {
  1174. "tags": [
  1175. "Reslevis",
  1176. "Reslevis"
  1177. ],
  1178. "summary": "Gettrackers",
  1179. "operationId": "getTrackers_reslevis_getTrackers_get",
  1180. "responses": {
  1181. "200": {
  1182. "description": "Successful Response",
  1183. "content": {
  1184. "application/json": {
  1185. "schema": {
  1186. "items": {
  1187. "$ref": "#/components/schemas/TrackerItem"
  1188. },
  1189. "type": "array",
  1190. "title": "Response Gettrackers Reslevis Gettrackers Get"
  1191. }
  1192. }
  1193. }
  1194. }
  1195. },
  1196. "security": [
  1197. {
  1198. "HTTPBearer": []
  1199. }
  1200. ]
  1201. }
  1202. },
  1203. "/reslevis/postTracker": {
  1204. "post": {
  1205. "tags": [
  1206. "Reslevis",
  1207. "Reslevis"
  1208. ],
  1209. "summary": "Posttracker",
  1210. "operationId": "postTracker_reslevis_postTracker_post",
  1211. "requestBody": {
  1212. "content": {
  1213. "application/json": {
  1214. "schema": {
  1215. "$ref": "#/components/schemas/TrackerItem"
  1216. }
  1217. }
  1218. },
  1219. "required": true
  1220. },
  1221. "responses": {
  1222. "200": {
  1223. "description": "Successful Response",
  1224. "content": {
  1225. "application/json": {
  1226. "schema": {}
  1227. }
  1228. }
  1229. },
  1230. "422": {
  1231. "description": "Validation Error",
  1232. "content": {
  1233. "application/json": {
  1234. "schema": {
  1235. "$ref": "#/components/schemas/HTTPValidationError"
  1236. }
  1237. }
  1238. }
  1239. }
  1240. },
  1241. "security": [
  1242. {
  1243. "HTTPBearer": []
  1244. }
  1245. ]
  1246. }
  1247. },
  1248. "/reslevis/updateTracker": {
  1249. "put": {
  1250. "tags": [
  1251. "Reslevis",
  1252. "Reslevis"
  1253. ],
  1254. "summary": "Updatetracker",
  1255. "operationId": "updateTracker_reslevis_updateTracker_put",
  1256. "requestBody": {
  1257. "content": {
  1258. "application/json": {
  1259. "schema": {
  1260. "$ref": "#/components/schemas/TrackerItem"
  1261. }
  1262. }
  1263. },
  1264. "required": true
  1265. },
  1266. "responses": {
  1267. "200": {
  1268. "description": "Successful Response",
  1269. "content": {
  1270. "application/json": {
  1271. "schema": {}
  1272. }
  1273. }
  1274. },
  1275. "422": {
  1276. "description": "Validation Error",
  1277. "content": {
  1278. "application/json": {
  1279. "schema": {
  1280. "$ref": "#/components/schemas/HTTPValidationError"
  1281. }
  1282. }
  1283. }
  1284. }
  1285. },
  1286. "security": [
  1287. {
  1288. "HTTPBearer": []
  1289. }
  1290. ]
  1291. }
  1292. },
  1293. "/reslevis/removeTracker/{tracker_id}": {
  1294. "delete": {
  1295. "tags": [
  1296. "Reslevis",
  1297. "Reslevis"
  1298. ],
  1299. "summary": "Removetracker",
  1300. "operationId": "removeTracker_reslevis_removeTracker__tracker_id__delete",
  1301. "security": [
  1302. {
  1303. "HTTPBearer": []
  1304. }
  1305. ],
  1306. "parameters": [
  1307. {
  1308. "name": "tracker_id",
  1309. "in": "path",
  1310. "required": true,
  1311. "schema": {
  1312. "type": "string",
  1313. "title": "Tracker Id"
  1314. }
  1315. }
  1316. ],
  1317. "responses": {
  1318. "200": {
  1319. "description": "Successful Response",
  1320. "content": {
  1321. "application/json": {
  1322. "schema": {}
  1323. }
  1324. }
  1325. },
  1326. "422": {
  1327. "description": "Validation Error",
  1328. "content": {
  1329. "application/json": {
  1330. "schema": {
  1331. "$ref": "#/components/schemas/HTTPValidationError"
  1332. }
  1333. }
  1334. }
  1335. }
  1336. }
  1337. }
  1338. },
  1339. "/reslevis/getTrackerZones": {
  1340. "get": {
  1341. "tags": [
  1342. "Reslevis",
  1343. "Reslevis"
  1344. ],
  1345. "summary": "Gettrackerzones",
  1346. "operationId": "getTrackerZones_reslevis_getTrackerZones_get",
  1347. "responses": {
  1348. "200": {
  1349. "description": "Successful Response",
  1350. "content": {
  1351. "application/json": {
  1352. "schema": {
  1353. "items": {
  1354. "$ref": "#/components/schemas/TrackerZoneItem"
  1355. },
  1356. "type": "array",
  1357. "title": "Response Gettrackerzones Reslevis Gettrackerzones Get"
  1358. }
  1359. }
  1360. }
  1361. }
  1362. },
  1363. "security": [
  1364. {
  1365. "HTTPBearer": []
  1366. }
  1367. ]
  1368. }
  1369. },
  1370. "/reslevis/postTrackerZone": {
  1371. "post": {
  1372. "tags": [
  1373. "Reslevis",
  1374. "Reslevis"
  1375. ],
  1376. "summary": "Posttrackerzone",
  1377. "operationId": "postTrackerZone_reslevis_postTrackerZone_post",
  1378. "requestBody": {
  1379. "content": {
  1380. "application/json": {
  1381. "schema": {
  1382. "$ref": "#/components/schemas/TrackerZoneItem"
  1383. }
  1384. }
  1385. },
  1386. "required": true
  1387. },
  1388. "responses": {
  1389. "200": {
  1390. "description": "Successful Response",
  1391. "content": {
  1392. "application/json": {
  1393. "schema": {}
  1394. }
  1395. }
  1396. },
  1397. "422": {
  1398. "description": "Validation Error",
  1399. "content": {
  1400. "application/json": {
  1401. "schema": {
  1402. "$ref": "#/components/schemas/HTTPValidationError"
  1403. }
  1404. }
  1405. }
  1406. }
  1407. },
  1408. "security": [
  1409. {
  1410. "HTTPBearer": []
  1411. }
  1412. ]
  1413. }
  1414. },
  1415. "/reslevis/updateTrackerZone": {
  1416. "put": {
  1417. "tags": [
  1418. "Reslevis",
  1419. "Reslevis"
  1420. ],
  1421. "summary": "Updatetrackerzone",
  1422. "operationId": "updateTrackerZone_reslevis_updateTrackerZone_put",
  1423. "requestBody": {
  1424. "content": {
  1425. "application/json": {
  1426. "schema": {
  1427. "$ref": "#/components/schemas/TrackerZoneItem"
  1428. }
  1429. }
  1430. },
  1431. "required": true
  1432. },
  1433. "responses": {
  1434. "200": {
  1435. "description": "Successful Response",
  1436. "content": {
  1437. "application/json": {
  1438. "schema": {}
  1439. }
  1440. }
  1441. },
  1442. "422": {
  1443. "description": "Validation Error",
  1444. "content": {
  1445. "application/json": {
  1446. "schema": {
  1447. "$ref": "#/components/schemas/HTTPValidationError"
  1448. }
  1449. }
  1450. }
  1451. }
  1452. },
  1453. "security": [
  1454. {
  1455. "HTTPBearer": []
  1456. }
  1457. ]
  1458. }
  1459. },
  1460. "/reslevis/removeTrackerZone/{tracker_zone_id}": {
  1461. "delete": {
  1462. "tags": [
  1463. "Reslevis",
  1464. "Reslevis"
  1465. ],
  1466. "summary": "Removetrackerzone",
  1467. "operationId": "removeTrackerZone_reslevis_removeTrackerZone__tracker_zone_id__delete",
  1468. "security": [
  1469. {
  1470. "HTTPBearer": []
  1471. }
  1472. ],
  1473. "parameters": [
  1474. {
  1475. "name": "tracker_zone_id",
  1476. "in": "path",
  1477. "required": true,
  1478. "schema": {
  1479. "type": "string",
  1480. "title": "Tracker Zone Id"
  1481. }
  1482. }
  1483. ],
  1484. "responses": {
  1485. "200": {
  1486. "description": "Successful Response",
  1487. "content": {
  1488. "application/json": {
  1489. "schema": {}
  1490. }
  1491. }
  1492. },
  1493. "422": {
  1494. "description": "Validation Error",
  1495. "content": {
  1496. "application/json": {
  1497. "schema": {
  1498. "$ref": "#/components/schemas/HTTPValidationError"
  1499. }
  1500. }
  1501. }
  1502. }
  1503. }
  1504. }
  1505. },
  1506. "/reslevis/getTracks": {
  1507. "get": {
  1508. "tags": [
  1509. "Reslevis",
  1510. "Reslevis"
  1511. ],
  1512. "summary": "Gettracks",
  1513. "operationId": "getTracks_reslevis_getTracks_get",
  1514. "responses": {
  1515. "200": {
  1516. "description": "Successful Response",
  1517. "content": {
  1518. "application/json": {
  1519. "schema": {
  1520. "items": {
  1521. "$ref": "#/components/schemas/TrackItem"
  1522. },
  1523. "type": "array",
  1524. "title": "Response Gettracks Reslevis Gettracks Get"
  1525. }
  1526. }
  1527. }
  1528. }
  1529. },
  1530. "security": [
  1531. {
  1532. "HTTPBearer": []
  1533. }
  1534. ]
  1535. }
  1536. },
  1537. "/reslevis/postTrack": {
  1538. "post": {
  1539. "tags": [
  1540. "Reslevis",
  1541. "Reslevis"
  1542. ],
  1543. "summary": "Posttrack",
  1544. "operationId": "postTrack_reslevis_postTrack_post",
  1545. "requestBody": {
  1546. "content": {
  1547. "application/json": {
  1548. "schema": {
  1549. "$ref": "#/components/schemas/TrackItem"
  1550. }
  1551. }
  1552. },
  1553. "required": true
  1554. },
  1555. "responses": {
  1556. "200": {
  1557. "description": "Successful Response",
  1558. "content": {
  1559. "application/json": {
  1560. "schema": {}
  1561. }
  1562. }
  1563. },
  1564. "422": {
  1565. "description": "Validation Error",
  1566. "content": {
  1567. "application/json": {
  1568. "schema": {
  1569. "$ref": "#/components/schemas/HTTPValidationError"
  1570. }
  1571. }
  1572. }
  1573. }
  1574. },
  1575. "security": [
  1576. {
  1577. "HTTPBearer": []
  1578. }
  1579. ]
  1580. }
  1581. },
  1582. "/reslevis/updateTrack": {
  1583. "put": {
  1584. "tags": [
  1585. "Reslevis",
  1586. "Reslevis"
  1587. ],
  1588. "summary": "Updatetrack",
  1589. "operationId": "updateTrack_reslevis_updateTrack_put",
  1590. "requestBody": {
  1591. "content": {
  1592. "application/json": {
  1593. "schema": {
  1594. "$ref": "#/components/schemas/TrackItem"
  1595. }
  1596. }
  1597. },
  1598. "required": true
  1599. },
  1600. "responses": {
  1601. "200": {
  1602. "description": "Successful Response",
  1603. "content": {
  1604. "application/json": {
  1605. "schema": {}
  1606. }
  1607. }
  1608. },
  1609. "422": {
  1610. "description": "Validation Error",
  1611. "content": {
  1612. "application/json": {
  1613. "schema": {
  1614. "$ref": "#/components/schemas/HTTPValidationError"
  1615. }
  1616. }
  1617. }
  1618. }
  1619. },
  1620. "security": [
  1621. {
  1622. "HTTPBearer": []
  1623. }
  1624. ]
  1625. }
  1626. },
  1627. "/reslevis/removeTrack/{track_id}": {
  1628. "delete": {
  1629. "tags": [
  1630. "Reslevis",
  1631. "Reslevis"
  1632. ],
  1633. "summary": "Removetrack",
  1634. "operationId": "removeTrack_reslevis_removeTrack__track_id__delete",
  1635. "security": [
  1636. {
  1637. "HTTPBearer": []
  1638. }
  1639. ],
  1640. "parameters": [
  1641. {
  1642. "name": "track_id",
  1643. "in": "path",
  1644. "required": true,
  1645. "schema": {
  1646. "type": "string",
  1647. "title": "Track Id"
  1648. }
  1649. }
  1650. ],
  1651. "responses": {
  1652. "200": {
  1653. "description": "Successful Response",
  1654. "content": {
  1655. "application/json": {
  1656. "schema": {}
  1657. }
  1658. }
  1659. },
  1660. "422": {
  1661. "description": "Validation Error",
  1662. "content": {
  1663. "application/json": {
  1664. "schema": {
  1665. "$ref": "#/components/schemas/HTTPValidationError"
  1666. }
  1667. }
  1668. }
  1669. }
  1670. }
  1671. }
  1672. },
  1673. "/reslevis/getOperators": {
  1674. "get": {
  1675. "tags": [
  1676. "Reslevis",
  1677. "Reslevis"
  1678. ],
  1679. "summary": "Getoperators",
  1680. "operationId": "getOperators_reslevis_getOperators_get",
  1681. "responses": {
  1682. "200": {
  1683. "description": "Successful Response",
  1684. "content": {
  1685. "application/json": {
  1686. "schema": {
  1687. "items": {
  1688. "$ref": "#/components/schemas/OperatorItem"
  1689. },
  1690. "type": "array",
  1691. "title": "Response Getoperators Reslevis Getoperators Get"
  1692. }
  1693. }
  1694. }
  1695. }
  1696. },
  1697. "security": [
  1698. {
  1699. "HTTPBearer": []
  1700. }
  1701. ]
  1702. }
  1703. },
  1704. "/reslevis/postOperator": {
  1705. "post": {
  1706. "tags": [
  1707. "Reslevis",
  1708. "Reslevis"
  1709. ],
  1710. "summary": "Postoperator",
  1711. "operationId": "postOperator_reslevis_postOperator_post",
  1712. "requestBody": {
  1713. "content": {
  1714. "application/json": {
  1715. "schema": {
  1716. "$ref": "#/components/schemas/OperatorItem"
  1717. }
  1718. }
  1719. },
  1720. "required": true
  1721. },
  1722. "responses": {
  1723. "200": {
  1724. "description": "Successful Response",
  1725. "content": {
  1726. "application/json": {
  1727. "schema": {}
  1728. }
  1729. }
  1730. },
  1731. "422": {
  1732. "description": "Validation Error",
  1733. "content": {
  1734. "application/json": {
  1735. "schema": {
  1736. "$ref": "#/components/schemas/HTTPValidationError"
  1737. }
  1738. }
  1739. }
  1740. }
  1741. },
  1742. "security": [
  1743. {
  1744. "HTTPBearer": []
  1745. }
  1746. ]
  1747. }
  1748. },
  1749. "/reslevis/updateOperator": {
  1750. "put": {
  1751. "tags": [
  1752. "Reslevis",
  1753. "Reslevis"
  1754. ],
  1755. "summary": "Updateoperator",
  1756. "operationId": "updateOperator_reslevis_updateOperator_put",
  1757. "requestBody": {
  1758. "content": {
  1759. "application/json": {
  1760. "schema": {
  1761. "$ref": "#/components/schemas/OperatorItem"
  1762. }
  1763. }
  1764. },
  1765. "required": true
  1766. },
  1767. "responses": {
  1768. "200": {
  1769. "description": "Successful Response",
  1770. "content": {
  1771. "application/json": {
  1772. "schema": {}
  1773. }
  1774. }
  1775. },
  1776. "422": {
  1777. "description": "Validation Error",
  1778. "content": {
  1779. "application/json": {
  1780. "schema": {
  1781. "$ref": "#/components/schemas/HTTPValidationError"
  1782. }
  1783. }
  1784. }
  1785. }
  1786. },
  1787. "security": [
  1788. {
  1789. "HTTPBearer": []
  1790. }
  1791. ]
  1792. }
  1793. },
  1794. "/reslevis/removeOperator/{operator_id}": {
  1795. "delete": {
  1796. "tags": [
  1797. "Reslevis",
  1798. "Reslevis"
  1799. ],
  1800. "summary": "Removeoperator",
  1801. "operationId": "removeOperator_reslevis_removeOperator__operator_id__delete",
  1802. "security": [
  1803. {
  1804. "HTTPBearer": []
  1805. }
  1806. ],
  1807. "parameters": [
  1808. {
  1809. "name": "operator_id",
  1810. "in": "path",
  1811. "required": true,
  1812. "schema": {
  1813. "type": "string",
  1814. "title": "Operator Id"
  1815. }
  1816. }
  1817. ],
  1818. "responses": {
  1819. "200": {
  1820. "description": "Successful Response",
  1821. "content": {
  1822. "application/json": {
  1823. "schema": {}
  1824. }
  1825. }
  1826. },
  1827. "422": {
  1828. "description": "Validation Error",
  1829. "content": {
  1830. "application/json": {
  1831. "schema": {
  1832. "$ref": "#/components/schemas/HTTPValidationError"
  1833. }
  1834. }
  1835. }
  1836. }
  1837. }
  1838. }
  1839. },
  1840. "/reslevis/getSubjects": {
  1841. "get": {
  1842. "tags": [
  1843. "Reslevis",
  1844. "Reslevis"
  1845. ],
  1846. "summary": "Getsubjects",
  1847. "operationId": "getSubjects_reslevis_getSubjects_get",
  1848. "responses": {
  1849. "200": {
  1850. "description": "Successful Response",
  1851. "content": {
  1852. "application/json": {
  1853. "schema": {
  1854. "items": {
  1855. "$ref": "#/components/schemas/SubjectItem"
  1856. },
  1857. "type": "array",
  1858. "title": "Response Getsubjects Reslevis Getsubjects Get"
  1859. }
  1860. }
  1861. }
  1862. }
  1863. },
  1864. "security": [
  1865. {
  1866. "HTTPBearer": []
  1867. }
  1868. ]
  1869. }
  1870. },
  1871. "/reslevis/postSubject": {
  1872. "post": {
  1873. "tags": [
  1874. "Reslevis",
  1875. "Reslevis"
  1876. ],
  1877. "summary": "Postsubject",
  1878. "operationId": "postSubject_reslevis_postSubject_post",
  1879. "requestBody": {
  1880. "content": {
  1881. "application/json": {
  1882. "schema": {
  1883. "$ref": "#/components/schemas/SubjectItem"
  1884. }
  1885. }
  1886. },
  1887. "required": true
  1888. },
  1889. "responses": {
  1890. "200": {
  1891. "description": "Successful Response",
  1892. "content": {
  1893. "application/json": {
  1894. "schema": {}
  1895. }
  1896. }
  1897. },
  1898. "422": {
  1899. "description": "Validation Error",
  1900. "content": {
  1901. "application/json": {
  1902. "schema": {
  1903. "$ref": "#/components/schemas/HTTPValidationError"
  1904. }
  1905. }
  1906. }
  1907. }
  1908. },
  1909. "security": [
  1910. {
  1911. "HTTPBearer": []
  1912. }
  1913. ]
  1914. }
  1915. },
  1916. "/reslevis/updateSubject": {
  1917. "put": {
  1918. "tags": [
  1919. "Reslevis",
  1920. "Reslevis"
  1921. ],
  1922. "summary": "Updatesubject",
  1923. "operationId": "updateSubject_reslevis_updateSubject_put",
  1924. "requestBody": {
  1925. "content": {
  1926. "application/json": {
  1927. "schema": {
  1928. "$ref": "#/components/schemas/SubjectItem"
  1929. }
  1930. }
  1931. },
  1932. "required": true
  1933. },
  1934. "responses": {
  1935. "200": {
  1936. "description": "Successful Response",
  1937. "content": {
  1938. "application/json": {
  1939. "schema": {}
  1940. }
  1941. }
  1942. },
  1943. "422": {
  1944. "description": "Validation Error",
  1945. "content": {
  1946. "application/json": {
  1947. "schema": {
  1948. "$ref": "#/components/schemas/HTTPValidationError"
  1949. }
  1950. }
  1951. }
  1952. }
  1953. },
  1954. "security": [
  1955. {
  1956. "HTTPBearer": []
  1957. }
  1958. ]
  1959. }
  1960. },
  1961. "/reslevis/removeSubject/{subject_id}": {
  1962. "delete": {
  1963. "tags": [
  1964. "Reslevis",
  1965. "Reslevis"
  1966. ],
  1967. "summary": "Removesubject",
  1968. "operationId": "removeSubject_reslevis_removeSubject__subject_id__delete",
  1969. "security": [
  1970. {
  1971. "HTTPBearer": []
  1972. }
  1973. ],
  1974. "parameters": [
  1975. {
  1976. "name": "subject_id",
  1977. "in": "path",
  1978. "required": true,
  1979. "schema": {
  1980. "type": "string",
  1981. "title": "Subject Id"
  1982. }
  1983. }
  1984. ],
  1985. "responses": {
  1986. "200": {
  1987. "description": "Successful Response",
  1988. "content": {
  1989. "application/json": {
  1990. "schema": {}
  1991. }
  1992. }
  1993. },
  1994. "422": {
  1995. "description": "Validation Error",
  1996. "content": {
  1997. "application/json": {
  1998. "schema": {
  1999. "$ref": "#/components/schemas/HTTPValidationError"
  2000. }
  2001. }
  2002. }
  2003. }
  2004. }
  2005. }
  2006. },
  2007. "/": {
  2008. "get": {
  2009. "summary": "Root",
  2010. "operationId": "root__get",
  2011. "responses": {
  2012. "200": {
  2013. "description": "Successful Response",
  2014. "content": {
  2015. "application/json": {
  2016. "schema": {}
  2017. }
  2018. }
  2019. }
  2020. }
  2021. }
  2022. },
  2023. "/openapi.json/": {
  2024. "get": {
  2025. "tags": [
  2026. "Documentation"
  2027. ],
  2028. "summary": "Get Open Api Endpoint",
  2029. "operationId": "get_open_api_endpoint_openapi_json__get",
  2030. "responses": {
  2031. "200": {
  2032. "description": "Successful Response",
  2033. "content": {
  2034. "application/json": {
  2035. "schema": {}
  2036. }
  2037. }
  2038. }
  2039. }
  2040. }
  2041. },
  2042. "/docs/": {
  2043. "get": {
  2044. "tags": [
  2045. "Documentation"
  2046. ],
  2047. "summary": "Get Documentation",
  2048. "operationId": "get_documentation_docs__get",
  2049. "responses": {
  2050. "200": {
  2051. "description": "Successful Response",
  2052. "content": {
  2053. "application/json": {
  2054. "schema": {}
  2055. }
  2056. }
  2057. }
  2058. }
  2059. }
  2060. },
  2061. "/majortel/call/": {
  2062. "post": {
  2063. "tags": [
  2064. "Majortel"
  2065. ],
  2066. "summary": "Route Call",
  2067. "operationId": "route_call_majortel_call__post",
  2068. "security": [
  2069. {
  2070. "MyLoginManager": []
  2071. }
  2072. ],
  2073. "parameters": [
  2074. {
  2075. "name": "callerNumber",
  2076. "in": "query",
  2077. "required": false,
  2078. "schema": {
  2079. "title": "Callernumber"
  2080. }
  2081. },
  2082. {
  2083. "name": "calledNumber",
  2084. "in": "query",
  2085. "required": false,
  2086. "schema": {
  2087. "title": "Callednumber"
  2088. }
  2089. }
  2090. ],
  2091. "responses": {
  2092. "200": {
  2093. "description": "Successful Response",
  2094. "content": {
  2095. "application/json": {
  2096. "schema": {}
  2097. }
  2098. }
  2099. },
  2100. "422": {
  2101. "description": "Validation Error",
  2102. "content": {
  2103. "application/json": {
  2104. "schema": {
  2105. "$ref": "#/components/schemas/HTTPValidationError"
  2106. }
  2107. }
  2108. }
  2109. }
  2110. }
  2111. }
  2112. },
  2113. "/majortel/ring/": {
  2114. "post": {
  2115. "tags": [
  2116. "Majortel"
  2117. ],
  2118. "summary": "Route Ring",
  2119. "operationId": "route_ring_majortel_ring__post",
  2120. "security": [
  2121. {
  2122. "MyLoginManager": []
  2123. }
  2124. ],
  2125. "parameters": [
  2126. {
  2127. "name": "calledNumber",
  2128. "in": "query",
  2129. "required": false,
  2130. "schema": {
  2131. "title": "Callednumber"
  2132. }
  2133. },
  2134. {
  2135. "name": "calledId",
  2136. "in": "query",
  2137. "required": false,
  2138. "schema": {
  2139. "title": "Calledid"
  2140. }
  2141. },
  2142. {
  2143. "name": "ringTime",
  2144. "in": "query",
  2145. "required": false,
  2146. "schema": {
  2147. "title": "Ringtime"
  2148. }
  2149. }
  2150. ],
  2151. "responses": {
  2152. "200": {
  2153. "description": "Successful Response",
  2154. "content": {
  2155. "application/json": {
  2156. "schema": {}
  2157. }
  2158. }
  2159. },
  2160. "422": {
  2161. "description": "Validation Error",
  2162. "content": {
  2163. "application/json": {
  2164. "schema": {
  2165. "$ref": "#/components/schemas/HTTPValidationError"
  2166. }
  2167. }
  2168. }
  2169. }
  2170. }
  2171. }
  2172. },
  2173. "/majortel/hardware/": {
  2174. "get": {
  2175. "tags": [
  2176. "Majortel"
  2177. ],
  2178. "summary": "Majortel Hardware Get",
  2179. "operationId": "majortel_hardware_get_majortel_hardware__get",
  2180. "responses": {
  2181. "200": {
  2182. "description": "Successful Response",
  2183. "content": {
  2184. "application/json": {
  2185. "schema": {
  2186. "$ref": "#/components/schemas/cellularHardwares"
  2187. }
  2188. }
  2189. }
  2190. }
  2191. }
  2192. }
  2193. },
  2194. "/majortel/hardware/{item_id}": {
  2195. "get": {
  2196. "tags": [
  2197. "Majortel"
  2198. ],
  2199. "summary": "Majortel Hardware Id Get",
  2200. "operationId": "majortel_hardware_id_get_majortel_hardware__item_id__get",
  2201. "security": [
  2202. {
  2203. "MyLoginManager": []
  2204. }
  2205. ],
  2206. "parameters": [
  2207. {
  2208. "name": "item_id",
  2209. "in": "path",
  2210. "required": true,
  2211. "schema": {
  2212. "type": "string",
  2213. "title": "Item Id"
  2214. }
  2215. }
  2216. ],
  2217. "responses": {
  2218. "200": {
  2219. "description": "Successful Response",
  2220. "content": {
  2221. "application/json": {
  2222. "schema": {
  2223. "$ref": "#/components/schemas/cellularHardware"
  2224. }
  2225. }
  2226. }
  2227. },
  2228. "400": {
  2229. "content": {
  2230. "application/json": {
  2231. "schema": {
  2232. "$ref": "#/components/schemas/httpResponse400"
  2233. }
  2234. }
  2235. },
  2236. "description": "Bad Request"
  2237. },
  2238. "422": {
  2239. "description": "Validation Error",
  2240. "content": {
  2241. "application/json": {
  2242. "schema": {
  2243. "$ref": "#/components/schemas/HTTPValidationError"
  2244. }
  2245. }
  2246. }
  2247. }
  2248. }
  2249. }
  2250. },
  2251. "/majortel/calls/": {
  2252. "get": {
  2253. "tags": [
  2254. "Majortel"
  2255. ],
  2256. "summary": "Majortel Calls Get",
  2257. "operationId": "majortel_calls_get_majortel_calls__get",
  2258. "security": [
  2259. {
  2260. "MyLoginManager": []
  2261. }
  2262. ],
  2263. "responses": {
  2264. "200": {
  2265. "description": "Successful Response",
  2266. "content": {
  2267. "application/json": {
  2268. "schema": {
  2269. "$ref": "#/components/schemas/calls"
  2270. }
  2271. }
  2272. }
  2273. }
  2274. }
  2275. },
  2276. "delete": {
  2277. "tags": [
  2278. "Majortel"
  2279. ],
  2280. "summary": "Majortel Calls Id Delete",
  2281. "operationId": "majortel_calls_id_delete_majortel_calls__delete",
  2282. "security": [
  2283. {
  2284. "MyLoginManager": []
  2285. }
  2286. ],
  2287. "parameters": [
  2288. {
  2289. "name": "call_id",
  2290. "in": "query",
  2291. "required": true,
  2292. "schema": {
  2293. "title": "Call Id"
  2294. }
  2295. }
  2296. ],
  2297. "responses": {
  2298. "200": {
  2299. "description": "Successful Response",
  2300. "content": {
  2301. "application/json": {
  2302. "schema": {
  2303. "$ref": "#/components/schemas/httpResponse200"
  2304. }
  2305. }
  2306. }
  2307. },
  2308. "400": {
  2309. "content": {
  2310. "application/json": {
  2311. "schema": {
  2312. "$ref": "#/components/schemas/httpResponse400"
  2313. }
  2314. }
  2315. },
  2316. "description": "Bad Request"
  2317. },
  2318. "500": {
  2319. "content": {
  2320. "application/json": {
  2321. "schema": {
  2322. "$ref": "#/components/schemas/httpResponse500"
  2323. }
  2324. }
  2325. },
  2326. "description": "Internal Server Error"
  2327. },
  2328. "422": {
  2329. "description": "Validation Error",
  2330. "content": {
  2331. "application/json": {
  2332. "schema": {
  2333. "$ref": "#/components/schemas/HTTPValidationError"
  2334. }
  2335. }
  2336. }
  2337. }
  2338. }
  2339. }
  2340. },
  2341. "/majortel/calls/{call_id}/": {
  2342. "get": {
  2343. "tags": [
  2344. "Majortel"
  2345. ],
  2346. "summary": "Majortel Calls Id Get",
  2347. "operationId": "majortel_calls_id_get_majortel_calls__call_id___get",
  2348. "security": [
  2349. {
  2350. "MyLoginManager": []
  2351. }
  2352. ],
  2353. "parameters": [
  2354. {
  2355. "name": "call_id",
  2356. "in": "path",
  2357. "required": true,
  2358. "schema": {
  2359. "title": "Call Id"
  2360. }
  2361. }
  2362. ],
  2363. "responses": {
  2364. "200": {
  2365. "description": "Successful Response",
  2366. "content": {
  2367. "application/json": {
  2368. "schema": {
  2369. "$ref": "#/components/schemas/call"
  2370. }
  2371. }
  2372. }
  2373. },
  2374. "422": {
  2375. "description": "Validation Error",
  2376. "content": {
  2377. "application/json": {
  2378. "schema": {
  2379. "$ref": "#/components/schemas/HTTPValidationError"
  2380. }
  2381. }
  2382. }
  2383. }
  2384. }
  2385. }
  2386. },
  2387. "/majortel/calls": {
  2388. "post": {
  2389. "tags": [
  2390. "Majortel"
  2391. ],
  2392. "summary": "Majortel Calls Post",
  2393. "operationId": "majortel_calls_post_majortel_calls_post",
  2394. "security": [
  2395. {
  2396. "MyLoginManager": []
  2397. }
  2398. ],
  2399. "parameters": [
  2400. {
  2401. "name": "hw_id",
  2402. "in": "query",
  2403. "required": true,
  2404. "schema": {
  2405. "title": "Hw Id"
  2406. }
  2407. },
  2408. {
  2409. "name": "ack_id",
  2410. "in": "query",
  2411. "required": true,
  2412. "schema": {
  2413. "title": "Ack Id"
  2414. }
  2415. },
  2416. {
  2417. "name": "called_number",
  2418. "in": "query",
  2419. "required": true,
  2420. "schema": {
  2421. "title": "Called Number"
  2422. }
  2423. },
  2424. {
  2425. "name": "text_message",
  2426. "in": "query",
  2427. "required": false,
  2428. "schema": {
  2429. "default": "codice di riscontro ",
  2430. "title": "Text Message"
  2431. }
  2432. },
  2433. {
  2434. "name": "timeout",
  2435. "in": "query",
  2436. "required": false,
  2437. "schema": {
  2438. "default": 30,
  2439. "title": "Timeout"
  2440. }
  2441. },
  2442. {
  2443. "name": "retry",
  2444. "in": "query",
  2445. "required": false,
  2446. "schema": {
  2447. "default": 1,
  2448. "title": "Retry"
  2449. }
  2450. }
  2451. ],
  2452. "requestBody": {
  2453. "content": {
  2454. "multipart/form-data": {
  2455. "schema": {
  2456. "$ref": "#/components/schemas/Body_majortel_calls_post_majortel_calls_post"
  2457. }
  2458. }
  2459. }
  2460. },
  2461. "responses": {
  2462. "200": {
  2463. "description": "Successful Response",
  2464. "content": {
  2465. "application/json": {
  2466. "schema": {
  2467. "$ref": "#/components/schemas/post_call"
  2468. }
  2469. }
  2470. }
  2471. },
  2472. "422": {
  2473. "description": "Validation Error",
  2474. "content": {
  2475. "application/json": {
  2476. "schema": {
  2477. "$ref": "#/components/schemas/HTTPValidationError"
  2478. }
  2479. }
  2480. }
  2481. }
  2482. }
  2483. }
  2484. }
  2485. },
  2486. "components": {
  2487. "schemas": {
  2488. "Adr": {
  2489. "properties": {
  2490. "casellaPostale": {
  2491. "type": "string",
  2492. "title": "Casellapostale"
  2493. },
  2494. "indirizzo": {
  2495. "type": "string",
  2496. "title": "Indirizzo"
  2497. },
  2498. "indirizzoEsteso": {
  2499. "type": "string",
  2500. "title": "Indirizzoesteso"
  2501. },
  2502. "cittaRegioneCAP": {
  2503. "type": "string",
  2504. "title": "Cittaregionecap"
  2505. },
  2506. "stato": {
  2507. "type": "string",
  2508. "title": "Stato"
  2509. }
  2510. },
  2511. "type": "object",
  2512. "required": [
  2513. "casellaPostale",
  2514. "indirizzo",
  2515. "indirizzoEsteso",
  2516. "cittaRegioneCAP",
  2517. "stato"
  2518. ],
  2519. "title": "Adr"
  2520. },
  2521. "Body_login_auth_login_post": {
  2522. "properties": {
  2523. "grant_type": {
  2524. "anyOf": [
  2525. {
  2526. "type": "string",
  2527. "pattern": "^password$"
  2528. },
  2529. {
  2530. "type": "null"
  2531. }
  2532. ],
  2533. "title": "Grant Type"
  2534. },
  2535. "username": {
  2536. "type": "string",
  2537. "title": "Username"
  2538. },
  2539. "password": {
  2540. "type": "string",
  2541. "format": "password",
  2542. "title": "Password"
  2543. },
  2544. "scope": {
  2545. "type": "string",
  2546. "title": "Scope",
  2547. "default": ""
  2548. },
  2549. "client_id": {
  2550. "anyOf": [
  2551. {
  2552. "type": "string"
  2553. },
  2554. {
  2555. "type": "null"
  2556. }
  2557. ],
  2558. "title": "Client Id"
  2559. },
  2560. "client_secret": {
  2561. "anyOf": [
  2562. {
  2563. "type": "string"
  2564. },
  2565. {
  2566. "type": "null"
  2567. }
  2568. ],
  2569. "format": "password",
  2570. "title": "Client Secret"
  2571. }
  2572. },
  2573. "type": "object",
  2574. "required": [
  2575. "username",
  2576. "password"
  2577. ],
  2578. "title": "Body_login_auth_login_post"
  2579. },
  2580. "Body_majortel_calls_post_majortel_calls_post": {
  2581. "properties": {
  2582. "file": {
  2583. "type": "string",
  2584. "format": "binary",
  2585. "title": "File"
  2586. }
  2587. },
  2588. "type": "object",
  2589. "title": "Body_majortel_calls_post_majortel_calls_post"
  2590. },
  2591. "BuildingItem": {
  2592. "properties": {
  2593. "id": {
  2594. "type": "string",
  2595. "format": "uuid",
  2596. "title": "Id"
  2597. },
  2598. "name": {
  2599. "type": "string",
  2600. "title": "Name"
  2601. },
  2602. "city": {
  2603. "anyOf": [
  2604. {
  2605. "type": "string"
  2606. },
  2607. {
  2608. "type": "null"
  2609. }
  2610. ],
  2611. "title": "City"
  2612. },
  2613. "address": {
  2614. "anyOf": [
  2615. {
  2616. "type": "string"
  2617. },
  2618. {
  2619. "type": "null"
  2620. }
  2621. ],
  2622. "title": "Address"
  2623. },
  2624. "latitude": {
  2625. "anyOf": [
  2626. {
  2627. "type": "number"
  2628. },
  2629. {
  2630. "type": "null"
  2631. }
  2632. ],
  2633. "title": "Latitude"
  2634. },
  2635. "longitude": {
  2636. "anyOf": [
  2637. {
  2638. "type": "number"
  2639. },
  2640. {
  2641. "type": "null"
  2642. }
  2643. ],
  2644. "title": "Longitude"
  2645. }
  2646. },
  2647. "type": "object",
  2648. "required": [
  2649. "id",
  2650. "name"
  2651. ],
  2652. "title": "BuildingItem"
  2653. },
  2654. "FloorItem": {
  2655. "properties": {
  2656. "id": {
  2657. "type": "string",
  2658. "format": "uuid",
  2659. "title": "Id"
  2660. },
  2661. "name": {
  2662. "type": "string",
  2663. "title": "Name"
  2664. },
  2665. "image": {
  2666. "anyOf": [
  2667. {
  2668. "type": "string"
  2669. },
  2670. {
  2671. "type": "null"
  2672. }
  2673. ],
  2674. "title": "Image"
  2675. },
  2676. "description": {
  2677. "anyOf": [
  2678. {
  2679. "type": "string"
  2680. },
  2681. {
  2682. "type": "null"
  2683. }
  2684. ],
  2685. "title": "Description"
  2686. },
  2687. "scale": {
  2688. "anyOf": [
  2689. {
  2690. "type": "number"
  2691. },
  2692. {
  2693. "type": "null"
  2694. }
  2695. ],
  2696. "title": "Scale"
  2697. },
  2698. "building": {
  2699. "anyOf": [
  2700. {
  2701. "type": "string",
  2702. "format": "uuid"
  2703. },
  2704. {
  2705. "type": "null"
  2706. }
  2707. ],
  2708. "title": "Building"
  2709. }
  2710. },
  2711. "type": "object",
  2712. "required": [
  2713. "id",
  2714. "name"
  2715. ],
  2716. "title": "FloorItem"
  2717. },
  2718. "GatewayItem": {
  2719. "properties": {
  2720. "id": {
  2721. "type": "string",
  2722. "format": "uuid",
  2723. "title": "Id"
  2724. },
  2725. "name": {
  2726. "type": "string",
  2727. "title": "Name"
  2728. },
  2729. "mac": {
  2730. "anyOf": [
  2731. {
  2732. "type": "string"
  2733. },
  2734. {
  2735. "type": "null"
  2736. }
  2737. ],
  2738. "title": "Mac"
  2739. },
  2740. "status": {
  2741. "anyOf": [
  2742. {
  2743. "type": "string"
  2744. },
  2745. {
  2746. "type": "boolean"
  2747. },
  2748. {
  2749. "type": "null"
  2750. }
  2751. ],
  2752. "title": "Status"
  2753. },
  2754. "model": {
  2755. "anyOf": [
  2756. {
  2757. "type": "string"
  2758. },
  2759. {
  2760. "type": "null"
  2761. }
  2762. ],
  2763. "title": "Model"
  2764. },
  2765. "ip": {
  2766. "anyOf": [
  2767. {
  2768. "type": "string"
  2769. },
  2770. {
  2771. "type": "null"
  2772. }
  2773. ],
  2774. "title": "Ip"
  2775. },
  2776. "position": {
  2777. "anyOf": [
  2778. {
  2779. "type": "string"
  2780. },
  2781. {
  2782. "type": "null"
  2783. }
  2784. ],
  2785. "title": "Position"
  2786. },
  2787. "x": {
  2788. "anyOf": [
  2789. {
  2790. "type": "number"
  2791. },
  2792. {
  2793. "type": "null"
  2794. }
  2795. ],
  2796. "title": "X"
  2797. },
  2798. "y": {
  2799. "anyOf": [
  2800. {
  2801. "type": "number"
  2802. },
  2803. {
  2804. "type": "null"
  2805. }
  2806. ],
  2807. "title": "Y"
  2808. },
  2809. "notes": {
  2810. "anyOf": [
  2811. {
  2812. "type": "string"
  2813. },
  2814. {
  2815. "type": "null"
  2816. }
  2817. ],
  2818. "title": "Notes"
  2819. },
  2820. "floor": {
  2821. "anyOf": [
  2822. {
  2823. "type": "string",
  2824. "format": "uuid"
  2825. },
  2826. {
  2827. "type": "null"
  2828. }
  2829. ],
  2830. "title": "Floor"
  2831. },
  2832. "building": {
  2833. "anyOf": [
  2834. {
  2835. "type": "string",
  2836. "format": "uuid"
  2837. },
  2838. {
  2839. "type": "null"
  2840. }
  2841. ],
  2842. "title": "Building"
  2843. }
  2844. },
  2845. "type": "object",
  2846. "required": [
  2847. "id",
  2848. "name"
  2849. ],
  2850. "title": "GatewayItem"
  2851. },
  2852. "HTTPValidationError": {
  2853. "properties": {
  2854. "detail": {
  2855. "items": {
  2856. "$ref": "#/components/schemas/ValidationError"
  2857. },
  2858. "type": "array",
  2859. "title": "Detail"
  2860. }
  2861. },
  2862. "type": "object",
  2863. "title": "HTTPValidationError"
  2864. },
  2865. "OperatorItem": {
  2866. "properties": {
  2867. "id": {
  2868. "type": "string",
  2869. "format": "uuid",
  2870. "title": "Id"
  2871. },
  2872. "name": {
  2873. "type": "string",
  2874. "title": "Name"
  2875. },
  2876. "phone": {
  2877. "anyOf": [
  2878. {
  2879. "type": "string"
  2880. },
  2881. {
  2882. "type": "null"
  2883. }
  2884. ],
  2885. "title": "Phone"
  2886. },
  2887. "zones": {
  2888. "items": {
  2889. "type": "string",
  2890. "format": "uuid"
  2891. },
  2892. "type": "array",
  2893. "title": "Zones"
  2894. },
  2895. "groups": {
  2896. "anyOf": [
  2897. {
  2898. "type": "string"
  2899. },
  2900. {
  2901. "type": "null"
  2902. }
  2903. ],
  2904. "title": "Groups"
  2905. },
  2906. "notes": {
  2907. "anyOf": [
  2908. {
  2909. "type": "string"
  2910. },
  2911. {
  2912. "type": "null"
  2913. }
  2914. ],
  2915. "title": "Notes"
  2916. },
  2917. "building": {
  2918. "anyOf": [
  2919. {
  2920. "type": "string",
  2921. "format": "uuid"
  2922. },
  2923. {
  2924. "type": "null"
  2925. }
  2926. ],
  2927. "title": "Building"
  2928. }
  2929. },
  2930. "type": "object",
  2931. "required": [
  2932. "id",
  2933. "name",
  2934. "zones"
  2935. ],
  2936. "title": "OperatorItem"
  2937. },
  2938. "SubjectItem": {
  2939. "properties": {
  2940. "id": {
  2941. "type": "string",
  2942. "format": "uuid",
  2943. "title": "Id"
  2944. },
  2945. "name": {
  2946. "type": "string",
  2947. "title": "Name"
  2948. },
  2949. "role": {
  2950. "anyOf": [
  2951. {
  2952. "type": "string"
  2953. },
  2954. {
  2955. "type": "null"
  2956. }
  2957. ],
  2958. "title": "Role"
  2959. },
  2960. "phone": {
  2961. "anyOf": [
  2962. {
  2963. "type": "string"
  2964. },
  2965. {
  2966. "type": "null"
  2967. }
  2968. ],
  2969. "title": "Phone"
  2970. },
  2971. "tracker": {
  2972. "type": "string",
  2973. "format": "uuid",
  2974. "title": "Tracker"
  2975. },
  2976. "groups": {
  2977. "anyOf": [
  2978. {
  2979. "type": "string"
  2980. },
  2981. {
  2982. "type": "null"
  2983. }
  2984. ],
  2985. "title": "Groups"
  2986. },
  2987. "notes": {
  2988. "anyOf": [
  2989. {
  2990. "type": "string"
  2991. },
  2992. {
  2993. "type": "null"
  2994. }
  2995. ],
  2996. "title": "Notes"
  2997. },
  2998. "building": {
  2999. "anyOf": [
  3000. {
  3001. "type": "string",
  3002. "format": "uuid"
  3003. },
  3004. {
  3005. "type": "null"
  3006. }
  3007. ],
  3008. "title": "Building"
  3009. }
  3010. },
  3011. "type": "object",
  3012. "required": [
  3013. "id",
  3014. "name",
  3015. "tracker"
  3016. ],
  3017. "title": "SubjectItem"
  3018. },
  3019. "Tel": {
  3020. "properties": {
  3021. "homeVoice": {
  3022. "anyOf": [
  3023. {
  3024. "type": "string"
  3025. },
  3026. {
  3027. "type": "null"
  3028. }
  3029. ],
  3030. "title": "Homevoice"
  3031. },
  3032. "personalMobile": {
  3033. "anyOf": [
  3034. {
  3035. "type": "string"
  3036. },
  3037. {
  3038. "type": "null"
  3039. }
  3040. ],
  3041. "title": "Personalmobile"
  3042. },
  3043. "workMobile": {
  3044. "anyOf": [
  3045. {
  3046. "type": "string"
  3047. },
  3048. {
  3049. "type": "null"
  3050. }
  3051. ],
  3052. "title": "Workmobile"
  3053. },
  3054. "workVoice": {
  3055. "anyOf": [
  3056. {
  3057. "type": "string"
  3058. },
  3059. {
  3060. "type": "null"
  3061. }
  3062. ],
  3063. "title": "Workvoice"
  3064. }
  3065. },
  3066. "type": "object",
  3067. "required": [
  3068. "homeVoice",
  3069. "personalMobile",
  3070. "workMobile",
  3071. "workVoice"
  3072. ],
  3073. "title": "Tel"
  3074. },
  3075. "Token": {
  3076. "properties": {
  3077. "access_token": {
  3078. "type": "string",
  3079. "title": "Access Token"
  3080. },
  3081. "token_type": {
  3082. "type": "string",
  3083. "title": "Token Type",
  3084. "default": "bearer"
  3085. }
  3086. },
  3087. "type": "object",
  3088. "required": [
  3089. "access_token"
  3090. ],
  3091. "title": "Token"
  3092. },
  3093. "TrackItem": {
  3094. "properties": {
  3095. "id": {
  3096. "type": "string",
  3097. "format": "uuid",
  3098. "title": "Id"
  3099. },
  3100. "timestamp": {
  3101. "anyOf": [
  3102. {
  3103. "type": "string"
  3104. },
  3105. {
  3106. "type": "null"
  3107. }
  3108. ],
  3109. "title": "Timestamp"
  3110. },
  3111. "type": {
  3112. "anyOf": [
  3113. {
  3114. "type": "string"
  3115. },
  3116. {
  3117. "type": "null"
  3118. }
  3119. ],
  3120. "title": "Type"
  3121. },
  3122. "status": {
  3123. "anyOf": [
  3124. {
  3125. "type": "string"
  3126. },
  3127. {
  3128. "type": "null"
  3129. }
  3130. ],
  3131. "title": "Status"
  3132. },
  3133. "gateway": {
  3134. "anyOf": [
  3135. {
  3136. "type": "string",
  3137. "format": "uuid"
  3138. },
  3139. {
  3140. "type": "null"
  3141. }
  3142. ],
  3143. "title": "Gateway"
  3144. },
  3145. "gatewayMac": {
  3146. "anyOf": [
  3147. {
  3148. "type": "string"
  3149. },
  3150. {
  3151. "type": "null"
  3152. }
  3153. ],
  3154. "title": "Gatewaymac"
  3155. },
  3156. "tracker": {
  3157. "anyOf": [
  3158. {
  3159. "type": "string",
  3160. "format": "uuid"
  3161. },
  3162. {
  3163. "type": "null"
  3164. }
  3165. ],
  3166. "title": "Tracker"
  3167. },
  3168. "trackerMac": {
  3169. "anyOf": [
  3170. {
  3171. "type": "string"
  3172. },
  3173. {
  3174. "type": "null"
  3175. }
  3176. ],
  3177. "title": "Trackermac"
  3178. },
  3179. "subject": {
  3180. "anyOf": [
  3181. {
  3182. "type": "string",
  3183. "format": "uuid"
  3184. },
  3185. {
  3186. "type": "null"
  3187. }
  3188. ],
  3189. "title": "Subject"
  3190. },
  3191. "subjectName": {
  3192. "anyOf": [
  3193. {
  3194. "type": "string"
  3195. },
  3196. {
  3197. "type": "null"
  3198. }
  3199. ],
  3200. "title": "Subjectname"
  3201. },
  3202. "floor": {
  3203. "anyOf": [
  3204. {
  3205. "type": "string",
  3206. "format": "uuid"
  3207. },
  3208. {
  3209. "type": "null"
  3210. }
  3211. ],
  3212. "title": "Floor"
  3213. },
  3214. "signal": {
  3215. "anyOf": [
  3216. {
  3217. "type": "number"
  3218. },
  3219. {
  3220. "type": "null"
  3221. }
  3222. ],
  3223. "title": "Signal"
  3224. },
  3225. "building": {
  3226. "anyOf": [
  3227. {
  3228. "type": "string",
  3229. "format": "uuid"
  3230. },
  3231. {
  3232. "type": "null"
  3233. }
  3234. ],
  3235. "title": "Building"
  3236. }
  3237. },
  3238. "type": "object",
  3239. "required": [
  3240. "id"
  3241. ],
  3242. "title": "TrackItem"
  3243. },
  3244. "TrackerItem": {
  3245. "properties": {
  3246. "id": {
  3247. "type": "string",
  3248. "format": "uuid",
  3249. "title": "Id"
  3250. },
  3251. "name": {
  3252. "type": "string",
  3253. "title": "Name"
  3254. },
  3255. "mac": {
  3256. "anyOf": [
  3257. {
  3258. "type": "string"
  3259. },
  3260. {
  3261. "type": "null"
  3262. }
  3263. ],
  3264. "title": "Mac"
  3265. },
  3266. "status": {
  3267. "anyOf": [
  3268. {
  3269. "type": "string"
  3270. },
  3271. {
  3272. "type": "null"
  3273. }
  3274. ],
  3275. "title": "Status"
  3276. },
  3277. "model": {
  3278. "anyOf": [
  3279. {
  3280. "type": "string"
  3281. },
  3282. {
  3283. "type": "null"
  3284. }
  3285. ],
  3286. "title": "Model"
  3287. },
  3288. "position": {
  3289. "anyOf": [
  3290. {
  3291. "type": "string"
  3292. },
  3293. {
  3294. "type": "null"
  3295. }
  3296. ],
  3297. "title": "Position"
  3298. },
  3299. "notes": {
  3300. "anyOf": [
  3301. {
  3302. "type": "string"
  3303. },
  3304. {
  3305. "type": "null"
  3306. }
  3307. ],
  3308. "title": "Notes"
  3309. },
  3310. "x": {
  3311. "anyOf": [
  3312. {
  3313. "type": "number"
  3314. },
  3315. {
  3316. "type": "null"
  3317. }
  3318. ],
  3319. "title": "X"
  3320. },
  3321. "y": {
  3322. "anyOf": [
  3323. {
  3324. "type": "number"
  3325. },
  3326. {
  3327. "type": "null"
  3328. }
  3329. ],
  3330. "title": "Y"
  3331. },
  3332. "floor": {
  3333. "anyOf": [
  3334. {
  3335. "type": "string",
  3336. "format": "uuid"
  3337. },
  3338. {
  3339. "type": "null"
  3340. }
  3341. ],
  3342. "title": "Floor"
  3343. },
  3344. "building": {
  3345. "anyOf": [
  3346. {
  3347. "type": "string",
  3348. "format": "uuid"
  3349. },
  3350. {
  3351. "type": "null"
  3352. }
  3353. ],
  3354. "title": "Building"
  3355. }
  3356. },
  3357. "type": "object",
  3358. "required": [
  3359. "id",
  3360. "name"
  3361. ],
  3362. "title": "TrackerItem"
  3363. },
  3364. "TrackerZoneItem": {
  3365. "properties": {
  3366. "id": {
  3367. "type": "string",
  3368. "format": "uuid",
  3369. "title": "Id"
  3370. },
  3371. "zoneList": {
  3372. "items": {
  3373. "type": "string",
  3374. "format": "uuid"
  3375. },
  3376. "type": "array",
  3377. "title": "Zonelist"
  3378. },
  3379. "tracker": {
  3380. "type": "string",
  3381. "format": "uuid",
  3382. "title": "Tracker"
  3383. },
  3384. "days": {
  3385. "anyOf": [
  3386. {
  3387. "type": "string"
  3388. },
  3389. {
  3390. "type": "null"
  3391. }
  3392. ],
  3393. "title": "Days"
  3394. },
  3395. "time": {
  3396. "anyOf": [
  3397. {
  3398. "type": "string"
  3399. },
  3400. {
  3401. "type": "null"
  3402. }
  3403. ],
  3404. "title": "Time"
  3405. }
  3406. },
  3407. "type": "object",
  3408. "required": [
  3409. "id",
  3410. "zoneList",
  3411. "tracker"
  3412. ],
  3413. "title": "TrackerZoneItem"
  3414. },
  3415. "ValidationError": {
  3416. "properties": {
  3417. "loc": {
  3418. "items": {
  3419. "anyOf": [
  3420. {
  3421. "type": "string"
  3422. },
  3423. {
  3424. "type": "integer"
  3425. }
  3426. ]
  3427. },
  3428. "type": "array",
  3429. "title": "Location"
  3430. },
  3431. "msg": {
  3432. "type": "string",
  3433. "title": "Message"
  3434. },
  3435. "type": {
  3436. "type": "string",
  3437. "title": "Error Type"
  3438. }
  3439. },
  3440. "type": "object",
  3441. "required": [
  3442. "loc",
  3443. "msg",
  3444. "type"
  3445. ],
  3446. "title": "ValidationError"
  3447. },
  3448. "ZoneItem": {
  3449. "properties": {
  3450. "id": {
  3451. "type": "string",
  3452. "format": "uuid",
  3453. "title": "Id"
  3454. },
  3455. "name": {
  3456. "type": "string",
  3457. "title": "Name"
  3458. },
  3459. "groups": {
  3460. "items": {
  3461. "type": "string",
  3462. "format": "uuid"
  3463. },
  3464. "type": "array",
  3465. "title": "Groups"
  3466. },
  3467. "floor": {
  3468. "anyOf": [
  3469. {
  3470. "type": "string",
  3471. "format": "uuid"
  3472. },
  3473. {
  3474. "type": "null"
  3475. }
  3476. ],
  3477. "title": "Floor"
  3478. },
  3479. "building": {
  3480. "anyOf": [
  3481. {
  3482. "type": "string",
  3483. "format": "uuid"
  3484. },
  3485. {
  3486. "type": "null"
  3487. }
  3488. ],
  3489. "title": "Building"
  3490. }
  3491. },
  3492. "type": "object",
  3493. "required": [
  3494. "id",
  3495. "name",
  3496. "groups"
  3497. ],
  3498. "title": "ZoneItem"
  3499. },
  3500. "call": {
  3501. "properties": {
  3502. "id": {
  3503. "type": "string",
  3504. "title": "Id"
  3505. },
  3506. "status": {
  3507. "type": "string",
  3508. "title": "Status"
  3509. },
  3510. "called_number": {
  3511. "type": "string",
  3512. "title": "Called Number"
  3513. },
  3514. "ack_id": {
  3515. "type": "integer",
  3516. "title": "Ack Id"
  3517. }
  3518. },
  3519. "type": "object",
  3520. "required": [
  3521. "id"
  3522. ],
  3523. "title": "call"
  3524. },
  3525. "calls": {
  3526. "properties": {
  3527. "Calls": {
  3528. "items": {
  3529. "$ref": "#/components/schemas/call"
  3530. },
  3531. "type": "array",
  3532. "title": "Calls"
  3533. }
  3534. },
  3535. "type": "object",
  3536. "required": [
  3537. "Calls"
  3538. ],
  3539. "title": "calls"
  3540. },
  3541. "cellularHardware": {
  3542. "properties": {
  3543. "id": {
  3544. "type": "string",
  3545. "title": "Id"
  3546. },
  3547. "description": {
  3548. "type": "string",
  3549. "title": "Description",
  3550. "example": "SIM Box 3301A"
  3551. },
  3552. "status": {
  3553. "type": "string",
  3554. "title": "Status",
  3555. "description": "The status of the hardware.",
  3556. "example": "Free"
  3557. },
  3558. "signal_level": {
  3559. "type": "integer",
  3560. "title": "Signal Level",
  3561. "description": "The detected signal level of the network.",
  3562. "example": "9"
  3563. },
  3564. "registered_number": {
  3565. "type": "string",
  3566. "title": "Registered Number",
  3567. "description": "The number associated with the SIM card used by the hardware."
  3568. },
  3569. "operator": {
  3570. "type": "string",
  3571. "title": "Operator"
  3572. }
  3573. },
  3574. "type": "object",
  3575. "required": [
  3576. "id"
  3577. ],
  3578. "title": "cellularHardware",
  3579. "description": "Model containing hardware info for a single device.\n "
  3580. },
  3581. "cellularHardwares": {
  3582. "properties": {
  3583. "CellularHardwares": {
  3584. "items": {
  3585. "$ref": "#/components/schemas/cellularHardware"
  3586. },
  3587. "type": "array",
  3588. "title": "Cellularhardwares"
  3589. }
  3590. },
  3591. "type": "object",
  3592. "required": [
  3593. "CellularHardwares"
  3594. ],
  3595. "title": "cellularHardwares"
  3596. },
  3597. "contact": {
  3598. "properties": {
  3599. "fn": {
  3600. "type": "string",
  3601. "title": "Fn"
  3602. },
  3603. "tel": {
  3604. "$ref": "#/components/schemas/Tel"
  3605. },
  3606. "adr": {
  3607. "$ref": "#/components/schemas/Adr"
  3608. },
  3609. "email": {
  3610. "type": "string",
  3611. "title": "Email"
  3612. },
  3613. "categories": {
  3614. "items": {
  3615. "type": "string"
  3616. },
  3617. "type": "array",
  3618. "title": "Categories"
  3619. }
  3620. },
  3621. "type": "object",
  3622. "required": [
  3623. "fn",
  3624. "tel",
  3625. "adr",
  3626. "email",
  3627. "categories"
  3628. ],
  3629. "title": "contact"
  3630. },
  3631. "contact_microsip": {
  3632. "properties": {
  3633. "firstname": {
  3634. "anyOf": [
  3635. {
  3636. "type": "string"
  3637. },
  3638. {
  3639. "type": "null"
  3640. }
  3641. ],
  3642. "title": "Firstname"
  3643. },
  3644. "lastname": {
  3645. "anyOf": [
  3646. {
  3647. "type": "string"
  3648. },
  3649. {
  3650. "type": "null"
  3651. }
  3652. ],
  3653. "title": "Lastname"
  3654. },
  3655. "phone": {
  3656. "anyOf": [
  3657. {
  3658. "type": "string"
  3659. },
  3660. {
  3661. "type": "null"
  3662. }
  3663. ],
  3664. "title": "Phone"
  3665. },
  3666. "mobile": {
  3667. "anyOf": [
  3668. {
  3669. "type": "string"
  3670. },
  3671. {
  3672. "type": "null"
  3673. }
  3674. ],
  3675. "title": "Mobile"
  3676. },
  3677. "email": {
  3678. "anyOf": [
  3679. {
  3680. "type": "string"
  3681. },
  3682. {
  3683. "type": "null"
  3684. }
  3685. ],
  3686. "title": "Email"
  3687. },
  3688. "address": {
  3689. "anyOf": [
  3690. {
  3691. "type": "string"
  3692. },
  3693. {
  3694. "type": "null"
  3695. }
  3696. ],
  3697. "title": "Address"
  3698. },
  3699. "city": {
  3700. "anyOf": [
  3701. {
  3702. "type": "string"
  3703. },
  3704. {
  3705. "type": "null"
  3706. }
  3707. ],
  3708. "title": "City"
  3709. },
  3710. "state": {
  3711. "anyOf": [
  3712. {
  3713. "type": "string"
  3714. },
  3715. {
  3716. "type": "null"
  3717. }
  3718. ],
  3719. "title": "State"
  3720. },
  3721. "zip": {
  3722. "anyOf": [
  3723. {
  3724. "type": "string"
  3725. },
  3726. {
  3727. "type": "null"
  3728. }
  3729. ],
  3730. "title": "Zip"
  3731. }
  3732. },
  3733. "type": "object",
  3734. "required": [
  3735. "firstname",
  3736. "lastname",
  3737. "phone",
  3738. "mobile",
  3739. "email",
  3740. "address",
  3741. "city",
  3742. "state",
  3743. "zip"
  3744. ],
  3745. "title": "contact_microsip"
  3746. },
  3747. "contacts": {
  3748. "properties": {
  3749. "contacts": {
  3750. "items": {
  3751. "$ref": "#/components/schemas/contact"
  3752. },
  3753. "type": "array",
  3754. "title": "Contacts"
  3755. }
  3756. },
  3757. "type": "object",
  3758. "required": [
  3759. "contacts"
  3760. ],
  3761. "title": "contacts"
  3762. },
  3763. "contacts_microsip": {
  3764. "properties": {
  3765. "items": {
  3766. "items": {
  3767. "$ref": "#/components/schemas/contact_microsip"
  3768. },
  3769. "type": "array",
  3770. "title": "Items"
  3771. }
  3772. },
  3773. "type": "object",
  3774. "required": [
  3775. "items"
  3776. ],
  3777. "title": "contacts_microsip"
  3778. },
  3779. "httpResponse200": {
  3780. "properties": {
  3781. "message": {
  3782. "type": "string",
  3783. "title": "Message",
  3784. "example": "Success"
  3785. }
  3786. },
  3787. "type": "object",
  3788. "title": "httpResponse200"
  3789. },
  3790. "httpResponse400": {
  3791. "properties": {
  3792. "message": {
  3793. "type": "string",
  3794. "title": "Message",
  3795. "example": "Not found"
  3796. }
  3797. },
  3798. "type": "object",
  3799. "title": "httpResponse400"
  3800. },
  3801. "httpResponse500": {
  3802. "properties": {
  3803. "message": {
  3804. "type": "string",
  3805. "title": "Message",
  3806. "example": "Server error"
  3807. }
  3808. },
  3809. "type": "object",
  3810. "title": "httpResponse500"
  3811. },
  3812. "post_call": {
  3813. "properties": {
  3814. "id": {
  3815. "type": "string",
  3816. "title": "Id"
  3817. }
  3818. },
  3819. "type": "object",
  3820. "required": [
  3821. "id"
  3822. ],
  3823. "title": "post_call"
  3824. },
  3825. "post_mnuser": {
  3826. "properties": {
  3827. "return_code": {
  3828. "type": "integer",
  3829. "title": "Return Code"
  3830. },
  3831. "return_str": {
  3832. "type": "string",
  3833. "title": "Return Str"
  3834. }
  3835. },
  3836. "type": "object",
  3837. "required": [
  3838. "return_code",
  3839. "return_str"
  3840. ],
  3841. "title": "post_mnuser"
  3842. }
  3843. },
  3844. "securitySchemes": {
  3845. "MyLoginManager": {
  3846. "type": "oauth2",
  3847. "flows": {
  3848. "password": {
  3849. "scopes": {},
  3850. "tokenUrl": "/auth/login"
  3851. }
  3852. }
  3853. },
  3854. "HTTPBearer": {
  3855. "type": "http",
  3856. "scheme": "bearer"
  3857. }
  3858. }
  3859. }
  3860. }