@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api FORTNITE REST API
@base https://skynewz-api-fortnite.herokuapp.com/api
@version 3.1.5
@auth ApiKey Authorization in header
@endpoints 9
@toc oauth(1), check(1), news(1), user(1), stats(2), pve(2), store(1)

@group oauth
@endpoint POST /oauth/token
@required {email: any, password: any}
@returns(200)
@errors {401, 404}

@endgroup

@group check
@endpoint GET /check
@returns(200)

@endgroup

@group news
@endpoint GET /news
@returns(200)

@endgroup

@group user
@endpoint GET /user/{plateform}/{username}
@required {plateform: any, username: any}
@returns(200)
@errors {404}

@endgroup

@group stats
@endpoint GET /stats/{plateform}/{username}
@required {plateform: any, username: any}
@returns(200)
@errors {400, 404}

@endpoint GET /stats/id/{plateform}/{id}
@required {plateform: any, id: any}
@returns(200)
@errors {400, 404}

@endgroup

@group pve
@endpoint GET /pve/user/{username}
@required {username: any}
@returns(200)
@errors {404}

@endpoint GET /pve/info
@returns(200)

@endgroup

@group store
@endpoint GET /store
@returns(200)

@endgroup

@end
