Package io.meeds.deeds.web.rest
Class DeedMetadataController
- java.lang.Object
-
- io.meeds.deeds.web.rest.DeedMetadataController
-
@RestController @RequestMapping("/api/deeds") public class DeedMetadataController extends Object
-
-
Constructor Summary
Constructors Constructor Description DeedMetadataController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<DeedMetadataPresentation>getContractMetadata(javax.servlet.http.HttpServletRequest request)org.springframework.http.ResponseEntity<DeedMetadataPresentation>getNftMetadata(short cityIndex, short cardType, javax.servlet.http.HttpServletRequest request)org.springframework.http.ResponseEntity<DeedMetadataPresentation>getNftMetadata(Long nftId, javax.servlet.http.HttpServletRequest request)
-
-
-
Method Detail
-
getContractMetadata
@GetMapping public org.springframework.http.ResponseEntity<DeedMetadataPresentation> getContractMetadata(javax.servlet.http.HttpServletRequest request)
-
getNftMetadata
@GetMapping("/{nftId}") public org.springframework.http.ResponseEntity<DeedMetadataPresentation> getNftMetadata(@PathVariable(name="nftId") Long nftId, javax.servlet.http.HttpServletRequest request)
-
getNftMetadata
@GetMapping("/type/{cityIndex}/{cardType}") public org.springframework.http.ResponseEntity<DeedMetadataPresentation> getNftMetadata(@PathVariable(name="cityIndex") short cityIndex, @PathVariable(name="cardType") short cardType, javax.servlet.http.HttpServletRequest request)
-
-