RSAPI
Backend Service for https://www.railway-stations.org/. Sourcecode available at: https://codeberg.org/RailwayStations/RSAPI.
Service Url
https://api.railway-stations.org/openapi.yaml
| Endpoint | Description |
|---|---|
| Delete the users profile. The delete request closes the account of the logged in user on railway-stations.org. The account will be changed to anonymous. The email-address, nickname, link and… | |
| Import or reject an uploaded photo or a problem report from the inbox | |
| Update the users profile. In case the email has been changed, only the email is saved and a new password is send. | |
| Query the state of photo uploads of the authorized user | |
| Delete an unprocessed inbox entry | |
| Get the current inbox, photos and problem reports under review. | |
| Count pending inbox items | |
| List of all supported countries with their configuration | |
| Verify eMail-Address with verification token | |
| downloads the given photo from the inbox | |
| downloads the given photo from the done inbox | |
| downloads the given photo from the processed inbox | |
| downloads the given photo from the rejected inbox | |
| Get the users profile | |
| OAuth2 authorization endpoint Redirect the user to this URL to start the authorization code flow. Specification: https://datatracker.ietf.org/doc/html/rfc6749#section-3.1 PKCE:… | |
| List of all photographers with their number of photos taken | |
| downloads the given photo | |
| Get a railway station of a country by its id with all its photos | |
| List stations by country Returns only the primary photo of each station. Stations can optionally be filtered by 'hasPhoto' and/or 'isActive' flag. | |
| List stations with photos by the given photographer Returns only the photos of a station which belong to the photographer. Can return several photos per station, not necessarily the primary photo. | |
| List stations with photos uploaded in the last 24h Returns only the recently imported photos of a station, defined by the sinceHours parameter. Can return several photos per station, not necessarily… | |
| Get the current public inbox, stations where photos have been uploaded | |
| Overall statistic of photos with and without photos | |
| Query all uploads of the authorized user | |
| Change user password | |
| OAuth2 revoke token endpoint https://datatracker.ietf.org/doc/html/rfc7009#section-2.1 | |
| OAuth2 token endpoint https://datatracker.ietf.org/doc/html/rfc6749#section-3.2 | |
| Upload a new Photo | |
| Report a problem for a Railway-Station | |
| Sends a new eMail-Verification mail |
