Skip to content

feat: Complete REST API surface for Token and NFT operations in samples#137

Closed
Twiineenock wants to merge 1 commit into
hiero-ledger:mainfrom
Twiineenock:feature/expose-all-endpoints
Closed

feat: Complete REST API surface for Token and NFT operations in samples#137
Twiineenock wants to merge 1 commit into
hiero-ledger:mainfrom
Twiineenock:feature/expose-all-endpoints

Conversation

@Twiineenock

Copy link
Copy Markdown
Contributor

Summary

This PR completes the REST API implementation for Token and NFT operations in the sample applications, fulfilling the requirements outlined in #136.

Linked Issue

Fixes #136

Changes Made

  • Implemented NFT Lifecycle Endpoints:
    • POST /nfts/{id}/burn: Burn specific NFT serials.
    • POST /nfts/{id}/transfer: Transfer NFTs with full credential support.
    • POST /nfts/{id}/associate & POST /nfts/{id}/dissociate: Manage NFT ownership eligibility.
  • Implemented Missing Token Endpoints:
    • POST /tokens/{id}/dissociate: Allow accounts to dissociate from fungible tokens.
  • Standardized DTOs: Added robust request models to handle complex transaction payloads.
  • SDK Type Alignment: Ensured REST parameters are correctly converted to SDK-native types (TokenId, AccountId, PrivateKey) before reaching the client layer.

✅ Verification Results

  • Full Build: mvn clean compile passed for all modules.
  • Parity: Verified feature parity between hiero-enterprise-spring-sample and hiero-enterprise-microprofile-sample.

Signed-off-by: Twiineenock <twiineenockfox@gmail.com>
@Twiineenock Twiineenock force-pushed the feature/expose-all-endpoints branch from 8e10a79 to 455b683 Compare May 5, 2026 07:28
@Twiineenock

Copy link
Copy Markdown
Contributor Author

HI @Ndacyayisenga-droid @manishdait @hendrikebbers
Just added end-points for the existing operations

@Twiineenock

Copy link
Copy Markdown
Contributor Author

@Ndacyayisenga-droid @manishdait @hendrikebbers I am closing this PR in favor PR 138 which provides a more granular approach

@Twiineenock Twiineenock closed this May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Complete REST API Surface for Token/NFT Operations

1 participant