IPNS Deployment Update API

This API is used to update projects that have been deployed by IPNS.

Usage Scenarios

Obtaining user permissions

API calls require the passing of an Auth Token. It is used to control all the Hosting projects under the account.

Once created, the token will only be displayed once. Please keep it safe. You can create a new one if you lose it.

List

IPNS resolve API

Description

  1. Request Method: POST

  2. Request Address: https://api.4everland.org

  3. Path: /api/ipns/resolve

Request parameter

Headers:

Query

Return data

Response

{
  "code": 200,
  "message": "success",
  "data": {}
}

Error

10025: Access is denied!
10009 :  Project is not exist!
100072 : This is not an IPNS project!
100073 :  Request limit: 1 request per second!

Get IPNS resolve status API

Description

  1. Request Method: GET

  2. Request Address: https://api.4everland.org

  3. Path: /api/ipns/resolve/status

Request parameter

Headers:

Query

Request Case: https://api.4everland.org/api/ipns/resolve/status?projectName=testProject

Return data

Response

{
    "code": 200,
    "message": "success",
    "data": {
        "ipnsResolve": "bafybeifjojp4mri2k775lsv3tgf5r2lg5jtxcdfufop52ygkwmqxjakl3m",
        "status": "SUCCESS",
        "updateAt": "2023-03-01 07:12:32"
    }
}

Error

10025: Access is denied!
10009 :  Project is not exist!
100072 : This is not an IPNS project!

If you have any questions, please join our Discord server, or send us an email at contact@4everland.org.

Last updated