cal.com
cal.com copied to clipboard
[CAL-4047] Retrieve private URL or hashedLink through event-types API(s)
Is your proposal related to a problem?
Yes, this is a blocking issue to copy private urls from Raycast:
- related https://github.com/raycast/extensions/issues/13215
- related https://github.com/calcom/cal.com/issues/5106
Describe the solution you'd like
We'd like a way to retrieve the hashedLink for the private URL through the APIs, either as:
- new key-value pair in the
GET /event-typesorGET /event-types/{id}response - replacing the current
linkvalue in the response with the private URL in case user has it enabled. - ...other alternative like a new API.
Describe alternatives you've considered
No alternatives that I could find in the API reference.
House rules
- If this issue has a
π¨ needs approvallabel, don't start coding yet. Wait until a core member approves feature request by removing this label, then you can start coding.- For clarity: Non-core member issues automatically get the
π¨ needs approvallabel. - Your feature ideas are invaluable to us! However, they undergo review to ensure alignment with the product's direction.
- For clarity: Non-core member issues automatically get the
Is anybody working on this? If not then I would like to take this on
@sourabpramanik go for it. just link your pr back to this issue when it's ready for review and someone from the team will take a look.
@PeerRich @ciaranha can i work on this issue? Please assign it to me
@PeerRich @ciaranha can i work on this issue? Please assign it to me
Hey @naman777 I am working on this thanks
@sourabpramanik are u still working on this?
I am not having the bandwidth, please go ahead if you want to work on this @Stain19
@Stain19 are you working this?, If not, I'm interested in working on it.
@rkumar261 No, not anymore. Go ahead π€
Hi @jfkisafk when you say replacing the current link value in the response with the private URL in case user has it enabled.
do you mean to change the value in the locations object when the type is set to link
{
"status": "success",
"data": {
"eventType": {
"id": 1,
"length": 60,
"slug": "cooking-class",
"title": "Learn the secrets of masterchief!",
"description": "Discover the culinary wonders of the Argentina by making the best flan ever!",
"locations": [
{
"type": "link",
"link": "Add hashed link if private link is enabled"
}
]
}
}
}
Hey @shafiahmed12 , I just mean changing the link value for the eventType:
{
"status": "success",
"data": {
"eventType": {
"id": 1,
"length": 60,
"slug": "cooking-class",
"title": "Learn the secrets of masterchief!",
"link": "...hashed link..."
}
}
}
But if it makes more sense to put it in location, then we can alter the call pattern on raycast side. Essentially if the hashed link is exposed somehow through the API, the objective is complete from raycast extension standpoint.
Is anyone currently working on this? If not, I would like to take it on.