-
Notifications
You must be signed in to change notification settings - Fork 83
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
Share GPX #978
Conversation
API list
|
java-tools/OsmAndServer/src/main/java/net/osmand/server/api/services/UserdataService.java
Outdated
Show resolved
Hide resolved
java-tools/OsmAndServer/src/main/java/net/osmand/server/controllers/user/MapApiController.java
Outdated
Show resolved
Hide resolved
java-tools/OsmAndServer/src/main/java/net/osmand/server/api/services/UserdataService.java
Outdated
Show resolved
Hide resolved
java-tools/OsmAndServer/src/main/java/net/osmand/server/api/services/UserdataService.java
Outdated
Show resolved
Hide resolved
java-tools/OsmAndServer/src/main/java/net/osmand/server/controllers/user/MapApiController.java
Outdated
Show resolved
Hide resolved
java-tools/OsmAndServer/src/main/java/net/osmand/server/controllers/user/MapApiController.java
Outdated
Show resolved
Hide resolved
java-tools/OsmAndServer/src/main/java/net/osmand/server/controllers/user/MapApiController.java
Outdated
Show resolved
Hide resolved
shared_info |
...-tools/OsmAndServer/src/main/java/net/osmand/server/api/repo/PremiumUserFilesRepository.java
Outdated
Show resolved
Hide resolved
API list /file-share - create and save code, return url |
...tools/OsmAndServer/src/main/java/net/osmand/server/api/services/shareGpx/FileSharedInfo.java
Outdated
Show resolved
Hide resolved
java-tools/OsmAndServer/src/main/java/net/osmand/server/controllers/user/MapApiController.java
Outdated
Show resolved
Hide resolved
API Editor
Link API Get access:
/share/get-gpx |
...tools/OsmAndServer/src/main/java/net/osmand/server/api/services/shareGpx/FileSharedInfo.java
Outdated
Show resolved
Hide resolved
java-tools/OsmAndServer/src/main/java/net/osmand/server/controllers/user/MapApiController.java
Outdated
Show resolved
Hide resolved
API
|
/share/generate-link?fileName=2022_11_11_09.49.41_Dag.gpx&fileType=GPX&type=publicByLogin
|
java-tools/OsmAndServer/src/main/java/net/osmand/server/api/repo/ShareFileRepository.java
Show resolved
Hide resolved
...tools/OsmAndServer/src/main/java/net/osmand/server/controllers/user/ShareFileController.java
Show resolved
Hide resolved
...tools/OsmAndServer/src/main/java/net/osmand/server/controllers/user/ShareFileController.java
Outdated
Show resolved
Hide resolved
...tools/OsmAndServer/src/main/java/net/osmand/server/controllers/user/ShareFileController.java
Outdated
Show resolved
Hide resolved
...tools/OsmAndServer/src/main/java/net/osmand/server/controllers/user/ShareFileController.java
Show resolved
Hide resolved
...tools/OsmAndServer/src/main/java/net/osmand/server/controllers/user/ShareFileController.java
Show resolved
Hide resolved
java-tools/OsmAndServer/src/main/java/net/osmand/server/api/services/ShareFileService.java
Outdated
Show resolved
Hide resolved
CREATE TABLE user_share_files ( | ||
id SERIAL PRIMARY KEY, | ||
ownerid INTEGER NOT NULL, | ||
uuid UUID UNIQUE, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to use VARCHAR not UUID. Some day we might decide to use some shorter code such as set of [a-zA-Z0-9]. VARCHAR would be OK for both UUID and String.
No description provided.