Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no ios notifications #313

Merged
merged 4 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,193 changes: 1,022 additions & 1,171 deletions server/api/tumdev/campus_backend.pb.go

Large diffs are not rendered by default.

77 changes: 0 additions & 77 deletions server/api/tumdev/campus_backend.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 0 additions & 16 deletions server/api/tumdev/campus_backend.proto
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,6 @@ service Campus {
option (google.api.http) = {get: "/canteen/headCount/{canteen_id}"};
}

// Endpoint for the iOS app to respond to background notifications requests
rpc IOSDeviceRequestResponse(IOSDeviceRequestResponseRequest) returns (IOSDeviceRequestResponseReply) { // TODO naming
option (google.api.http) = {
post: "/ios/notifications/deviceRequestResponse",
body: "*",
};
}

// Create an device (Android/iOS/Windows) for push notifications
rpc CreateDevice(CreateDeviceRequest) returns (CreateDeviceReply) {
option (google.api.http) = {
Expand Down Expand Up @@ -192,14 +184,6 @@ message DeleteDeviceReply {
string device_id = 1;
}

message IOSDeviceRequestResponseRequest {
string request_id = 1;
string payload = 2;
}

message IOSDeviceRequestResponseReply {
string message = 1;
}
message News {
int64 id = 1;
string title = 2;
Expand Down
53 changes: 0 additions & 53 deletions server/api/tumdev/campus_backend.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -577,40 +577,6 @@
]
}
},
"/ios/notifications/deviceRequestResponse": {
"post": {
"summary": "Endpoint for the iOS app to respond to background notifications requests",
"description": "TODO naming",
"operationId": "Campus_IOSDeviceRequestResponse",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/apiIOSDeviceRequestResponseReply"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/apiIOSDeviceRequestResponseRequest"
}
}
],
"tags": [
"Campus"
]
}
},
"/members/{lrzId}": {
"get": {
"operationId": "Campus_GetMember",
Expand Down Expand Up @@ -1263,25 +1229,6 @@
}
}
},
"apiIOSDeviceRequestResponseReply": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
},
"apiIOSDeviceRequestResponseRequest": {
"type": "object",
"properties": {
"requestId": {
"type": "string"
},
"payload": {
"type": "string"
}
}
},
"apiListAvailableCanteenTagsReply": {
"type": "object",
"properties": {
Expand Down
39 changes: 0 additions & 39 deletions server/api/tumdev/campus_backend_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 0 additions & 58 deletions server/backend/campus_api/campus_api.go

This file was deleted.

Loading
Loading