Skip to content
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

Implement PNOJ API #14

Open
8 tasks
HillcrestEnigma opened this issue Aug 6, 2020 · 0 comments
Open
8 tasks

Implement PNOJ API #14

HillcrestEnigma opened this issue Aug 6, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@HillcrestEnigma
Copy link
Member

PNOJ should have an API endpoint for people to access the data hosted by PNOJ or submit new data programmatically.
To future-proof the API, GraphQL would be preferable.
Bulk rejudging submissions and rescoring submissions and users should be done through the API.
The API would also allow for a command-line client to exist to assist the user.

List of things that should the API should support:

  • Authenticate using API tokens, if unauthenticated, return data accessible by normal users
  • Fetch Problems, Users, Submissions, Organizations, Comments, OrganizationRequests
  • Fetch Submission status and source
  • Fetch last viewed problem by a user
  • Rejudge or Rescore Submissions
  • Rescore Users
  • Create Problems, Submissions, Comments
  • Rate-limit access
@HillcrestEnigma HillcrestEnigma added the enhancement New feature or request label Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant