Patch Tokenized Contract Endpoints
patch
{baseUrl}/v1/register/{tokenizedDepositContractAddress}
Adds, updates, or deletes registered endpoints for the specified tokenized deposit contract.
Request
Path Parameters
-
tokenizedDepositContractAddress(required): string
Path parameter derived from Postman variable tokenizedDepositContractAddress
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
objectExample:
{
"upsertEndpoints":[
{
"path":"initializeCBDCToken",
"httpMethod":"POST",
"contractMethod":{
"name":"initializeCBDCToken",
"signature":"initializeCBDCToken((string,string,string,string,string,string,string[],uint8,(uint256,bool),(bool)))"
},
"args":[
"token"
]
}
],
"deleteEndpoints":[
{
"path":"oldEndpoint",
"httpMethod":"POST"
}
]
}Nested Schema : deleteEndpoints
Type:
Show Source
arrayExample:
[
{
"path":"oldEndpoint",
"httpMethod":"POST"
}
]Nested Schema : upsertEndpoints
Type:
Show Source
arrayExample:
[
{
"path":"initializeCBDCToken",
"httpMethod":"POST",
"contractMethod":{
"name":"initializeCBDCToken",
"signature":"initializeCBDCToken((string,string,string,string,string,string,string[],uint8,(uint256,bool),(bool)))"
},
"args":[
"token"
]
}
]Nested Schema : items
Type:
Show Source
object-
httpMethod: string
Example:
POST -
path: string
Example:
oldEndpoint
Example:
{
"path":"oldEndpoint",
"httpMethod":"POST"
}Nested Schema : items
Type:
Show Source
object-
args: array
args
-
contractMethod: object
contractMethod
-
httpMethod: string
Example:
POST -
path: string
Example:
initializeCBDCToken
Example:
{
"path":"initializeCBDCToken",
"httpMethod":"POST",
"contractMethod":{
"name":"initializeCBDCToken",
"signature":"initializeCBDCToken((string,string,string,string,string,string,string[],uint8,(uint256,bool),(bool)))"
},
"args":[
"token"
]
}Nested Schema : contractMethod
Type:
Show Source
object-
name: string
Example:
initializeCBDCToken -
signature: string
Example:
initializeCBDCToken((string,string,string,string,string,string,string[],uint8,(uint256,bool),(bool)))
Example:
{
"name":"initializeCBDCToken",
"signature":"initializeCBDCToken((string,string,string,string,string,string,string[],uint8,(uint256,bool),(bool)))"
}Security
-
OAuth2Password: oauth2
Type:
oauth2
Response
Supported Media Types
- application/json
200 Response
Contract template updated successfully.
Nested Schema : RegisteredSchema
Type:
Show Source
object-
combinedApis(required): array
combinedApis
-
contractAddress(required): string
Pattern:
^0x[a-fA-F0-9]{40}$ -
endpoints(required): array
endpoints
-
readConfigs(required): object
readConfigs
Additional Properties Allowed:
true -
writeConfigs(required): object
writeConfigs
Additional Properties Allowed:
true
Nested Schema : combinedApis
Type:
Show Source
array-
Array of:
object items
Additional Properties Allowed:
true
Nested Schema : endpoints
Type:
Show Source
array-
Array of:
object items
Additional Properties Allowed:
true
Nested Schema : readConfigs
Type:
objectAdditional Properties Allowed:
trueNested Schema : writeConfigs
Type:
objectAdditional Properties Allowed:
trueNested Schema : items
Type:
objectAdditional Properties Allowed:
trueNested Schema : items
Type:
objectAdditional Properties Allowed:
true400 Response
The wrapper rejected the request before it could complete a downstream call.
401 Response
A valid authorization header is required.
404 Response
The requested resource or registered contract schema was not found.
415 Response
Content-Type must be application/json.
502 Response
The wrapper could not complete the downstream call.