Skip to content

Web service that reads ArmA3Sync server data and returns it in JSON format

Notifications You must be signed in to change notification settings

a-sync/arma3sync-json-web-api

Repository files navigation

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.

{
    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

About

Web service that reads ArmA3Sync server data and returns it in JSON format

Topics

Resources

Stars

Watchers

Forks