{"info":{"title":"push basic","version":"1.0","contact":{"name":"Beamable Support","url":"https://api.beamable.com","email":"support@beamable.com"}},"servers":[{"url":"https://api.beamable.com"}],"paths":{"/basic/push/register":{"post":{"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyRsp"}}}},"400":{"description":"Bad Request"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterReq"}}}},"security":[{"user":[]},{"server":[]}]},"parameters":[{"name":"X-BEAM-SCOPE","in":"header","schema":{"type":"string"},"description":"Customer and project scope. This should be in the form of '<customer-id>.<project-id>'.","required":true},{"name":"X-BEAM-GAMERTAG","in":"header","schema":{"type":"string"},"description":"Override the Gamer Tag of the player. This is generally inferred by the auth token.","required":false}]},"/basic/push/send":{"post":{"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyRsp"}}}},"400":{"description":"Bad Request"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendReq"}}}},"security":[{"user":[]},{"server":[]}]},"parameters":[{"name":"X-BEAM-SCOPE","in":"header","schema":{"type":"string"},"description":"Customer and project scope. This should be in the form of '<customer-id>.<project-id>'.","required":true},{"name":"X-BEAM-GAMERTAG","in":"header","schema":{"type":"string"},"description":"Override the Gamer Tag of the player. This is generally inferred by the auth token.","required":false}]}},"components":{"schemas":{"EmptyRsp":{"properties":{},"additionalProperties":false,"title":"Empty Rsp","type":"object"},"SendNotification":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"body":{"type":"string"}}},"RegisterReq":{"properties":{"provider":{"type":"string"},"token":{"type":"string"}},"additionalProperties":false,"title":"Register Req","type":"object","required":["provider","token"]},"SendReq":{"properties":{"msgs":{"type":"array","items":{"$ref":"#/components/schemas/SendMsg"}}},"additionalProperties":false,"title":"Send Req","type":"object","required":["msgs"]},"SendMsg":{"type":"object","additionalProperties":false,"properties":{"to":{"type":"array","items":{"type":"integer","format":"int64"}},"notification":{"$ref":"#/components/schemas/SendNotification"},"data":{"type":"object","additionalProperties":{"type":"string"}}},"required":["to"]}},"securitySchemes":{"server":{"type":"apiKey","name":"X-DE-SIGNATURE","in":"header","description":"Signed Request authentication using project secret key."},"user":{"type":"http","description":"Bearer authentication with a player access token in the Authorization header.","scheme":"bearer","bearerFormat":"Bearer <Access Token>"}}},"security":[],"externalDocs":{"description":"Beamable Documentation","url":"https://docs.beamable.com"},"openapi":"3.0.2"}