Difference between revisions of "PC² REST services"

From PC2wiki
Jump to: navigation, search
(initial skel)
 
m (added urls)
Line 1: Line 1:
[[CCS]] REST service were added to pc2.
+
[[CCS]] REST service were added to pc2 as a way to provide contest data.
  
 
[https://en.wikipedia.org/wiki/Representational_state_transfer REST] services are in version 9.3.2 and later versions of pc2.
 
[https://en.wikipedia.org/wiki/Representational_state_transfer REST] services are in version 9.3.2 and later versions of pc2.
 +
 +
= Starting REST Services =
 +
 +
See
  
 
= REST Services =
 
= REST Services =
 +
 +
All REST services produce JSON output.
  
 
== teams ==
 
== teams ==
 +
 +
Fetch data use this URL in a browser:
 +
https://localhost:50443/teams
  
 
== problems ==
 
== problems ==
 +
 +
Fetch data use this URL
 +
https://localhost:50443/problems
  
 
== languages ==
 
== languages ==
 +
 +
Fetch data use this URL
 +
https://localhost:50443/languages
  
 
== scoreboard ==
 
== scoreboard ==
 +
 +
Fetch data use this URL
 +
https://localhost:50443/scoreboard
 +
  
 
=See Also=
 
=See Also=

Revision as of 11:27, 11 September 2016

CCS REST service were added to pc2 as a way to provide contest data.

REST services are in version 9.3.2 and later versions of pc2.

Starting REST Services

See

REST Services

All REST services produce JSON output.

teams

Fetch data use this URL in a browser:

https://localhost:50443/teams

problems

Fetch data use this URL

https://localhost:50443/problems

languages

Fetch data use this URL

https://localhost:50443/languages

scoreboard

Fetch data use this URL

https://localhost:50443/scoreboard


See Also