Skip to main content
PATCH
/
modules
/
{id}
Update module metadata
curl --request PATCH \
  --url https://staging.hdp.api.herodotus.cloud/modules/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "abi": "<unknown>",
  "description": "<string>",
  "license": "<string>",
  "name": "<string>",
  "source_code": "<unknown>",
  "tags": [
    "<string>"
  ]
}
'
{
  "compilerVersion": "<string>",
  "createdAt": "<string>",
  "downloadsCount": 123,
  "id": "<string>",
  "isVerified": true,
  "name": "<string>",
  "publishedOnMarketplace": true,
  "updatedAt": "<string>",
  "usageCount": 123,
  "usersCount": 123,
  "abi": "<unknown>",
  "creatorUser": "<string>",
  "description": "<string>",
  "latestModuleVersionProgramHash": "<string>",
  "license": "<string>",
  "scarbToml": "<string>",
  "sourceCode": "<unknown>",
  "tags": [
    "<string>"
  ]
}

Path Parameters

id
string
required

The unique identifier of the module to update

Body

application/json
abi
any
description
string | null
license
string | null
name
string | null
source_code
any
tags
string[] | null

Response

Module updated successfully

compilerVersion
string
required
createdAt
string
required
downloadsCount
integer<int64>
required
id
string
required
isVerified
boolean
required
name
string
required
publishedOnMarketplace
boolean
required
updatedAt
string
required
usageCount
integer<int64>
required
usersCount
integer<int64>
required
abi
any
creatorUser
string | null
description
string | null
latestModuleVersionProgramHash
string | null
license
string | null
scarbToml
string | null
sourceCode
any
tags
string[] | null