Description
We need to implement a new GET endpoint to allow retrieval of detailed information about a specific post using its unique identifier and content hash
Acceptance Criteria:
[ ] Add GET /v1/content/{dsnpId}/{contentHash}
[ ] Ensure dsnpId and contentHash is required.
[ ] Ensure authentication is required.
[ ] Update the OpenAPI swagger documentation.
Tech Specs
Endpoint: GET /v1/content/{dsnpId}/{contentHash}
Security Requirement: tokenAuth
Parameters:
dsnpId(string, required): The unique identifier of the post.
contentHash (string, required): The hash of the post content.
Responses:
200 OK: Returns post details matching the BroadcastExtended schema.
401 Unauthorized: Access attempt without valid authentication.
404 Not Found: No content found matching the provided identifiers.
Open API Snippet
Description We need to implement a new GET endpoint to allow retrieval of detailed information about a specific post using its unique identifier and content hash
Acceptance Criteria:
Tech Specs
Endpoint:
GET /v1/content/{dsnpId}/{contentHash}Security Requirement:
tokenAuthParameters:
dsnpId(string, required):
The unique identifier of the post.contentHash (string, required):
The hash of the post content.Responses:
200 OK:
Returns post details matching the BroadcastExtended schema.401 Unauthorized:
Access attempt without valid authentication.404 Not Found:
No content found matching the provided identifiers. Open API Snippet