app

Edits an application

put/app/{appId}

Path parameters

appIdnumber required
Example:5

ID of the application to edit

Request body

appIdnumber required

Application ID (generated by the contract)

namestring required

The name of the application

descriptionstring required

Description of the application

contactEmailstring email required

Contact email for the application manager

appUserUrlstring uri required

URL of the application for users

logostring required

Base64 encoded logo image

redirectUrisstring[] required

Redirect URIs users can be sent to after signing up for your application (with their JWT token)

deploymentStatus'dev' | 'test' | 'prod' required

Deployment status of the application; dev, test, or prod

managerAddressstring required

Manager wallet address

Example request

{
  "appId": 12345,
  "name": "Memecoin DCA App",
  "description": "This is a memecoin DCA App",
  "contactEmail": "contact@example.com",
  "appUserUrl": "https://myapplication.example.com/",
  "logo": "iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAIAAAACDbGyAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOvwAADr8BOAVTJAAAAA5JREFUGFdj/M+ACAAAAAD//wE7AnsAAAAAAElFTkSuQmCC",
  "redirectUris": [
    "https://google.com",
    "https://litprotocol.com"
  ],
  "deploymentStatus": "dev",
  "managerAddress": "0x123456789012345678901234567890123456abcd"
}

Response

Successful operation

_idstring required

Document ID

updatedAtstring date-time required

Timestamp when this was last modified

createdAtstring date-time required

Timestamp when this was created

appIdnumber required

Application ID

namestring required

The name of the application

descriptionstring required

Description of the application

contactEmailstring email required

Contact email for the application manager

appUserUrlstring uri required

URL of the application for users

logostring required

Base64 encoded logo image

redirectUrisstring[] required

Redirect URIs users can be sent to after signing up for your application (with their JWT token)

deploymentStatus'dev' | 'test' | 'prod' required

Deployment status of the application; dev, test, or prod

managerAddressstring required

Manager wallet address

activeVersionnumber required

Active version of the application

Example response

{
  "appId": 12345,
  "name": "Memecoin DCA App",
  "description": "This is a memecoin DCA App",
  "contactEmail": "contact@example.com",
  "appUserUrl": "https://myapplication.example.com/",
  "logo": "iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAIAAAACDbGyAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOvwAADr8BOAVTJAAAAA5JREFUGFdj/M+ACAAAAAD//wE7AnsAAAAAAElFTkSuQmCC",
  "redirectUris": [
    "https://google.com",
    "https://litprotocol.com"
  ],
  "deploymentStatus": "dev",
  "managerAddress": "0x123456789012345678901234567890123456abcd",
  "activeVersion": 1
}

Changes