Skip to content

Commit

Permalink
Update doc register-pil-terms-python
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Tucker committed Jan 21, 2025
1 parent d70ef8e commit 272d44f
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions docs/Developers/python-sdk/register-pil-terms-python.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ response = story_client.License.registerPILTerms(**license_terms)
print(f"PIL Terms registered at transaction hash {response['txHash']} License Terms ID: {response['licenseTermsId']}")
```
```python Request Type
RegisterPILTermsRequest = {
register_pil_terms_request = {
'transferable': bool,
'royalty_policy': str,
'default_minting_fee': int,
Expand All @@ -71,11 +71,11 @@ RegisterPILTermsRequest = {
'derivative_rev_ceiling': int,
'currency': str,
'uri': str,
'tx_options': dict
'tx_options': dict # optional
}
```
```python Response Type
RegisterPILTermsResponse = {
register_pil_terms_response = {
'txHash': str,
'licenseTermsId': int
}
Expand All @@ -95,15 +95,15 @@ response = story_client.License.registerCommercialUsePIL(
print(f"PIL Terms registered at transaction hash {response['txHash']} License Terms ID: {response['licenseTermsId']}")
```
```python Request Type
RegisterCommercialUsePILRequest = {
register_commercial_use_pil_request = {
'default_minting_fee': int,
'currency': str,
'royalty_policy': str,
'tx_options': dict
'royalty_policy': str, # optional
'tx_options': dict # optional
}
```
```python Response Type
RegisterCommercialUsePILResponse = {
register_commercial_use_pil_response = {
'txHash': str,
'licenseTermsId': int
}
Expand All @@ -124,16 +124,16 @@ response = story_client.License.registerCommercialRemixPIL(
print(f"PIL Terms registered at transaction hash {response['txHash']} License Terms ID: {response['licenseTermsId']}")
```
```python Request Type
RegisterCommercialRemixPILRequest = {
register_commercial_remix_pil_request = {
'default_minting_fee': int,
'currency': str,
'commercial_rev_share': int,
'royalty_policy': str,
'tx_options': dict
'tx_options': dict # optional
}
```
```python Response Type
RegisterCommercialRemixPILResponse = {
register_commercial_remix_pil_response = {
'txHash': str,
'licenseTermsId': int
}
Expand All @@ -153,12 +153,12 @@ response = story_client.License.registerNonComSocialRemixingPIL()
print(f"PIL Terms registered at transaction hash {response['txHash']} License Terms ID: {response['licenseTermsId']}")
```
```python Request Type
RegisterNonComSocialRemixingPILRequest = {
'tx_options': dict
register_non_com_social_remixing_pil_request = {
'tx_options': dict # optional
}
```
```python Response Type
RegisterNonComSocialRemixingPILResponse = {
register_non_com_social_remixing_pil_response = {
'txHash': str,
'licenseTermsId': int
}
Expand Down

0 comments on commit 272d44f

Please sign in to comment.