Skip to main content
POST
/
releases
/
{id}
/
feedback
Add Feedback to Release
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/releases/{id}/feedback \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "message": "Great track! The production quality is excellent. Consider adjusting the mix on the bridge section.",
  "isInternal": false
}'
{
  "success": true,
  "message": "Feedback added successfully",
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "TenantId": 123,
    "ReleaseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "TenantUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "comment": "<string>",
    "status": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Code Examples

const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/releases/example-id/feedback', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "message": "sample-message",
    "isInternal": true
  })
});

const data = await response.json();
console.log(data);

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string<uuid>
required

Release ID

Body

application/json
message
string
required

Feedback message

isInternal
boolean
default:false

Whether the feedback is internal (admin only)

Response

Success

success
boolean
Example:

true

message
string
Example:

"Feedback added successfully"

data
object