{"components":{"schemas":{"ApsData_ODA1NzAzOTQw":{"properties":{"badge":{"type":"boolean"},"loc_args":{"items":{"type":"string"},"type":"array"},"loc_key":{"description":"ApsLocKey","type":"string"},"sound":{"description":"ApsSound","type":"string"}},"required":["loc_key"],"type":"object"},"ConnId":{"type":"string"},"KeyMap_Value_MzAxODEwOTgx":{"type":"object"},"Object":{"type":"object"},"Presence_ODM4OTYzMDY1":{"properties":{"client_id":{"description":"A 64-bit unsigned integer, represented as a hexadecimal numeral. Any valid hexadecimal numeral is accepted, but the backend will only produce representations with lowercase digits and no leading zeros","type":"string"},"created_at":{"format":"int64","maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"device_id":{"$ref":"#/components/schemas/ConnId"},"resource":{"description":"Valid URI.","type":"string"},"user_id":{"$ref":"#/components/schemas/UUID"}},"required":["user_id","device_id","resource"],"type":"object"},"Priority_ODA3NDM3MDYy":{"enum":["low","high"],"type":"string"},"PushTokenList_NDI0Mjc3MzY3":{"description":"List of Native Push Tokens","properties":{"tokens":{"description":"Push tokens","items":{"$ref":"#/components/schemas/PushToken_ODYzMDYzOTA4"},"type":"array"}},"required":["tokens"],"type":"object"},"PushToken_ODYzMDYzOTA4":{"description":"Native Push Token","properties":{"app":{"description":"Application","type":"string"},"client":{"description":"Client ID","type":"string"},"token":{"description":"Access Token","type":"string"},"transport":{"$ref":"#/components/schemas/Transport_NDk2NzU5NDIy"}},"required":["transport","app","token","client"],"type":"object"},"Push_LTQ5NzM4Njkz":{"properties":{"connections":{"items":{"$ref":"#/components/schemas/ConnId"},"type":"array"},"is_cells_event":{"type":"boolean"},"native_aps":{"$ref":"#/components/schemas/ApsData_ODA1NzAzOTQw"},"native_encrypt":{"type":"boolean"},"native_include_origin":{"type":"boolean"},"native_priority":{"$ref":"#/components/schemas/Priority_ODA3NDM3MDYy"},"origin":{"$ref":"#/components/schemas/UUID"},"origin_connection":{"$ref":"#/components/schemas/ConnId"},"payload":{"items":{"$ref":"#/components/schemas/Object"},"minItems":1,"type":"array"},"recipients":{"items":{"$ref":"#/components/schemas/Recipient_ODM0MzU0Njc2"},"type":"array"},"transient":{"type":"boolean"}},"required":["recipients","payload"],"type":"object"},"Recipient_ODM0MzU0Njc2":{"properties":{"clients":{"description":"List of clientIds. Empty means `all clients`.","items":{"description":"A 64-bit unsigned integer, represented as a hexadecimal numeral. Any valid hexadecimal numeral is accepted, but the backend will only produce representations with lowercase digits and no leading zeros","type":"string"},"type":"array"},"route":{"$ref":"#/components/schemas/Route_ODA4Nzc2Mzc3"},"user_id":{"$ref":"#/components/schemas/UUID"}},"required":["user_id","route","clients"],"type":"object"},"Route_ODA4Nzc2Mzc3":{"enum":["any","direct"],"type":"string"},"Transport_NDk2NzU5NDIy":{"description":"Transport","enum":["GCM","APNS","APNS_SANDBOX","APNS_VOIP","APNS_VOIP_SANDBOX"],"type":"string"},"UUID":{"example":"99db9768-04e3-4b5d-9268-831b6a25c4ab","format":"uuid","type":"string"}},"securitySchemes":{"ZAuth":{"description":"Must be a token retrieved by calling 'POST /login' or 'POST /access'. It must be presented in this format: 'Bearer \\<token\\>'.","in":"header","name":"Authorization","type":"apiKey"}}},"info":{"description":"To have access to this *internal* endpoint, create a port forwarding to `gundeck` into the Kubernetes cluster. E.g.:\n```\nkubectl port-forward -n wire service/gundeck 9086:8080\n```\n**N.B.:** Execution via this UI won't work due to CORS issues. But, the proposed `curl` commands will.\n","title":"Wire-Server Internal API (gundeck)","version":""},"openapi":"3.0.0","paths":{"/i/clients/{cid}":{"delete":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-clients-delete\"]\n\n","operationId":"i-clients-delete","parameters":[{"in":"path","name":"cid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"tags":["gundeck"]}},"/i/presences":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-presences-get-for-users\"]\n\n","operationId":"i-presences-get-for-users","parameters":[{"in":"query","name":"ids","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/Presence_ODM4OTYzMDY1"},"type":"array"}}},"description":""}},"tags":["gundeck"]},"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-presences-post\"]\n\n","operationId":"i-presences-post","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/Presence_ODM4OTYzMDY1"}}},"required":true},"responses":{"201":{"content":{"application/json;charset=utf-8":{}},"description":"","headers":{"Location":{"schema":{"description":"Valid URI","type":"string"}}}}},"tags":["gundeck"]}},"/i/presences/{uid}":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-presences-get-for-user\"]\n\n","operationId":"i-presences-get-for-user","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/Presence_ODM4OTYzMDY1"},"type":"array"}}},"description":""}},"tags":["gundeck"]}},"/i/presences/{uid}/devices/{did}/cannons/{cannon}":{"delete":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-presences-delete\"]\n\n","operationId":"i-presences-delete","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"did","required":true,"schema":{"type":"string"}},{"in":"path","name":"cannon","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"tags":["gundeck"]}},"/i/push-tokens/{uid}":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-push-tokens-get\"]\n\n","operationId":"i-push-tokens-get","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/PushTokenList_NDI0Mjc3MzY3"}}},"description":""}},"tags":["gundeck"]}},"/i/push/v2":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-push\"]\n\n","operationId":"i-push","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/Push_LTQ5NzM4Njkz"},"type":"array"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"tags":["gundeck"]}},"/i/status":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-status\"]\n\n","operationId":"i-status","responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"tags":["gundeck"]}},"/i/user":{"delete":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-user-delete\"]\n\n","operationId":"i-user-delete","responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"tags":["gundeck"]}},"/i/users/{uid}/clients/{cid}/consumable-notifications":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-reg-consumable-notifs\"]\n\n","operationId":"i-reg-consumable-notifs","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"cid","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":""}},"tags":["gundeck"]}}},"security":[{"ZAuth":[]}],"servers":[{"url":"http://localhost:9086"}]}