Good to know: All job operation interfaces need to use token as the request header.
POST
https://www.phoenix.global/sdk/computation/panel/createJobByInput
Create a privacy computing job. The computation data of the job is input through the keyboard.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
The usage of curl and golang sdk is as follows:
POST
https://www.phoenix.global/sdk/computation/panel/createJobByFile
Create a machine learning classification job. The participant of the job is the creator.
The usage of curl and golang sdk is as follows:
POST
https://www.phoenix.global/sdk/computation/panel/createJobByFile
Create a machine learning clustering job, which only needs to upload a feature dataset file.
The usage of curl and golang sdk is as follows:
POST
https://www.phoenix.global/sdk/computation/panel/fillData
Fill data for job of input type. The user who fills in the data must be a participant of the job.
The usage of curl and golang sdk is as follows:
POST
https://www.phoenix.global/sdk/computation/panel/deleteJobByUser
Delete a job according to job id. Only the creator has permission to delete
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
token*
string
The token generated in the previous step
computation*
string
Computation type. One of "Privacy Comparison", "Matrix Addition", and "Matrix Multiplication"
input*
string
Data used for computing, formatted as a matrix,such as "[[18,34,18.2]]"
jobName*
string
Job name that cannot be repeated
parties*
string array
Computation participants. The current version of the input type job has three parties. Participants need to provide computation data and can view the computation results on the phoenix blockchain.
token*
string
The token generated in the previous step
computation*
string
Form data. Computation type. One of "Decision Tree", "Logistic Regression", "SVM" and "Deep Learning MLP"
jobName*
string
Form data. Job name
featureData*
file
Form data. Feature dataset in .CSV format, cannot contain special characters
targetData*
file
Form data. Target dataset in .CSV format, cannot contain special characters
testingData
file
Form data. Testing dataset in .CSV format, cannot contain special characters. The dimensions of testing dataset and feature dataset should be same
token*
string
The token generated in the previous step
computation*
string
Form data. Computation type. One of "Birch Clustering", "K-Means Clustering", and "Spectral Clustering"
jobName*
string
Form data. Job name
featureData*
string
Form data. Feature dataset in .CSV format, cannot contain special characters
token*
string
The token generated in the previous step
input*
string
Data used for computing, formatted as a matrix,such as "[[18,34,18.2]]"
jobID*
string
The job id returned when creating a job
token*
string
The token generated in the previous step
jobID*
string
The job id returned when creating a job