Learn how to configure REST Single-Dimensional Credential
REST Single-Dimensional Credential allows you to fetch user data via RESTful APIs and validate user eligibility based on a single condition. It is suitable for when task verification is equivalent to answering the question, Did this particular user perform this task — yes or no?
The option to configure REST credential can be found in step 3, Task Settings of quest creation on the Galxe Dashboard, under the Import Your Own Data
task type.
ID Type
provides various identity options, including social accounts, blockchain addresses, and other unique identifiers.
Give your credential a descriptive title relevant to the task at hand.
Choose REST
type and select GET
or POST
based on your API request type.
Choose Single Dimension
.
GET Request Example:
POST Request Example:
Input a test address, send the request, and confirm whether the response is correct.
The response must be in JSON format. Example:
Description of the certificate, supports rich text input, maximum 200 characters.
Guide users to specific operation pages to complete interactive tasks.
Control the time range of the credential, prohibiting new validations after the deadline.
Remind users of the frequency of API data source updates, such as once a day or once every two days.
GET
POST
No header
POST
No header
Learn how to configure REST Single-Dimensional Credential
REST Single-Dimensional Credential allows you to fetch user data via RESTful APIs and validate user eligibility based on a single condition. It is suitable for when task verification is equivalent to answering the question, Did this particular user perform this task — yes or no?
The option to configure REST credential can be found in step 3, Task Settings of quest creation on the Galxe Dashboard, under the Import Your Own Data
task type.
ID Type
provides various identity options, including social accounts, blockchain addresses, and other unique identifiers.
Give your credential a descriptive title relevant to the task at hand.
Choose REST
type and select GET
or POST
based on your API request type.
Choose Single Dimension
.
GET Request Example:
POST Request Example:
Input a test address, send the request, and confirm whether the response is correct.
The response must be in JSON format. Example:
Description of the certificate, supports rich text input, maximum 200 characters.
Guide users to specific operation pages to complete interactive tasks.
Control the time range of the credential, prohibiting new validations after the deadline.
Remind users of the frequency of API data source updates, such as once a day or once every two days.
GET
POST
No header
POST
No header