https://github.com/a-sync/arma3sync-json-web-api
Web service that reads ArmA3Sync server data and returns it in JSON format
https://github.com/a-sync/arma3sync-json-web-api
arma3-mods arma3sync json web-api
Last synced: about 1 month ago
JSON representation
Web service that reads ArmA3Sync server data and returns it in JSON format
- Host: GitHub
- URL: https://github.com/a-sync/arma3sync-json-web-api
- Owner: a-sync
- Created: 2022-01-29T10:01:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-19T15:54:26.000Z (over 2 years ago)
- Last Synced: 2025-03-27T04:43:48.482Z (about 1 year ago)
- Topics: arma3-mods, arma3sync, json, web-api
- Language: JavaScript
- Homepage:
- Size: 43 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# arma3sync-json-web-api
Web service that reads ArmA3Sync server data and returns it in JSON format.
## Accepted request query fields
* **url**: ArmA3Sync server url
* types: comma separated list of requested data types
- `autoconfig`
- `serverinfo`
- `events`
- `changelogs`
## Success response
_Status 200 application/json_
Object. Has a `url` field with string value.
```ts
{
url: string;
autoconfig?: A3sAutoconfigDto;
serverinfo?: A3sServerInfoDto;
events?: A3sEventsDto;
changelogs?: A3sChangelogsDto;
}
```
## Error response
_Status 404 application/json_
Object. Has a single `error` field with string value.
## Examples
```
http://localhost:8080/?url=https://arma3sync.anrop.se/.a3s
http://localhost:8080/?url=https://repo.ofcra.org/.a3s&types=serverinfo,events
http://localhost:8080/?url=ftp://138.201.131.194/A3_Repository/.a3s
http://localhost:8080/?url=ftp://88.99.69.243/Repo/WOG/.a3s
```