All URIs are relative to /api/v1
Method | HTTP request | Description |
---|---|---|
v1_claim_record_by_judger | POST /domains/{domain}/records/{record}/judge/claim | Claim Record By Judger |
v1_submit_case_by_judger | PUT /domains/{domain}/records/{record}/cases/{index}/judge | Submit Case By Judger |
v1_submit_record_by_judger | PUT /domains/{domain}/records/{record}/judge | Submit Record By Judger |
JudgerCredentialsResp v1_claim_record_by_judger(body, domain, record)
Claim Record By Judger
from __future__ import print_function
import time
import joj.horse_client
from joj.horse_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = joj.horse_client.JudgeApi(joj.horse_client.ApiClient(configuration))
body = joj.horse_client.JudgerClaim() # JudgerClaim |
domain = 'domain_example' # str | url or id of the domain
record = 'record_example' # str |
try:
# Claim Record By Judger
api_response = api_instance.v1_claim_record_by_judger(body, domain, record)
pprint(api_response)
except ApiException as e:
print("Exception when calling JudgeApi->v1_claim_record_by_judger: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | JudgerClaim | ||
domain | str | url or id of the domain | |
record | str |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EmptyResp v1_submit_case_by_judger(body, index, record, domain)
Submit Case By Judger
from __future__ import print_function
import time
import joj.horse_client
from joj.horse_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = joj.horse_client.JudgeApi(joj.horse_client.ApiClient(configuration))
body = joj.horse_client.RecordCaseSubmit() # RecordCaseSubmit |
index = 56 # int |
record = 'record_example' # str |
domain = 'domain_example' # str | url or id of the domain
try:
# Submit Case By Judger
api_response = api_instance.v1_submit_case_by_judger(body, index, record, domain)
pprint(api_response)
except ApiException as e:
print("Exception when calling JudgeApi->v1_submit_case_by_judger: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | RecordCaseSubmit | ||
index | int | ||
record | str | ||
domain | str | url or id of the domain |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EmptyResp v1_submit_record_by_judger(body, record, domain)
Submit Record By Judger
from __future__ import print_function
import time
import joj.horse_client
from joj.horse_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = joj.horse_client.JudgeApi(joj.horse_client.ApiClient(configuration))
body = joj.horse_client.RecordSubmit() # RecordSubmit |
record = 'record_example' # str |
domain = 'domain_example' # str | url or id of the domain
try:
# Submit Record By Judger
api_response = api_instance.v1_submit_record_by_judger(body, record, domain)
pprint(api_response)
except ApiException as e:
print("Exception when calling JudgeApi->v1_submit_record_by_judger: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | RecordSubmit | ||
record | str | ||
domain | str | url or id of the domain |
[Back to top] [Back to API list] [Back to Model list] [Back to README]