Closed
Bug 1043686
Opened 10 years ago
Closed 10 years ago
Add an endpoint to list all the call-url generated and valid
Categories
(Hello (Loop) :: Server, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: alexis+bugs, Assigned: rhubscher)
Details
(Whiteboard: [qa+])
Attachments
(1 file)
Starting this bug as a discussion: would it make sense to have a way to list all the call-url that were generated by an user? I believe that would help synchro between clients for instance.
Comment 1•10 years ago
|
||
This sounds like a late API change. How will this impact the current release and the overall release schedule?
Whiteboard: [qa+]
Reporter | ||
Comment 2•10 years ago
|
||
This is a feature we would add for next versions of the API, it's not breaking any sort of compatibility so I wouldn't consider this a late API change. Adam, I would like your opinion on this particular proposal, would it make sense to add this to the server APIs?
Flags: needinfo?(adam)
Comment 3•10 years ago
|
||
What is the scenario today if you have lost your FF environment ? Do you need to re-create a call-url if you did not save it somewhere ?
Reporter | ||
Comment 4•10 years ago
|
||
Today, there is no way to get back the call-urls if you lose them.
Comment 5•10 years ago
|
||
semi-related: on desktop it could be a sync record in Firefox Sync
Comment 6•10 years ago
|
||
(In reply to Alexis Metaireau (:alexis) from comment #4) > Today, there is no way to get back the call-urls if you lose them. This isn't strictly true -- to accommodate URL revocation in the case of, say, abusive calls (even if you don't have a list of all the URLs), we do indicate the callUrl as a parameter when you find out about a new incoming call: https://wiki.mozilla.org/Loop/Architecture/MVP#GET_.2Fcalls.3Fversion.3D.3Cversion.3E (At least, that's the design -- I haven't double-checked the implementation) But, yes, in the general case, if you don't track the URLs locally or if you somehow lose the list of URLs that you've issued, there's no way to request a new copy of them. Now that we've gone to a stateful model for URLs, it probably does make sense to have a method to retrieve them. The client synchronization use case is a good example of why this makes sense. That said, in discussions with Darrin so far, we haven't considered URL management to be part of MVP, so I would put this further out on the timeline. (In reply to Tarek Ziadé (:tarek) from comment #3) > What is the scenario today if you have lost your FF environment ? Do you > need to re-create a call-url if you did not save it somewhere ? For non-logged in users, losing your environment means all your previously-issued URLs become invalid. The only thing that binds a URL to your browser is the HAWK token that your browser stores. If you lose that, you have no way to assert ownership of the URLs. For users with an identity (FxA or MSISDN), issued URLs are bound to the identity. Loss of a profile has no impact on issued URLs, which will continue to route to any device that can authenticate as the associated identity.
Comment 7•10 years ago
|
||
(In reply to Tarek Ziadé (:tarek) from comment #5) > semi-related: on desktop it could be a sync record in Firefox Sync I think we want the service experience to be as seamless as possible between Desktop and FxOS, at least long-term. I would hesitate to take any decisions that make this more difficult...
Flags: needinfo?(adam)
Reporter | ||
Comment 8•10 years ago
|
||
> That said, in discussions with Darrin so far, we haven't considered URL
> management to be part of MVP, so I would put this further out on the
> timeline.
Okay. If that makes sense to you, I can implement that on the server-side when I'll have some extra cycles, and the client can consume it later on when there is a UX experience around it?
Flags: needinfo?(adam)
Comment 9•10 years ago
|
||
(In reply to Alexis Metaireau (:alexis) from comment #8) > Okay. If that makes sense to you, I can implement that on the server-side > when I'll have some extra cycles, and the client can consume it later on > when there is a UX experience around it? Sure, if you don't have any higher-priority tasks. :)
Flags: needinfo?(adam)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → rhubscher
Assignee | ||
Comment 10•10 years ago
|
||
Attachment #8474436 -
Flags: review?(alexis+bugs)
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 11•10 years ago
|
||
Comment on attachment 8474436 [details] [review] Link to github PR https://github.com/mozilla-services/loop-server/commit/a5fc7cd8d110ce53061ccefe1e2affcb4e1e7bdc
Attachment #8474436 -
Flags: review?(alexis+bugs) → review+
Reporter | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 12•10 years ago
|
||
How soon does this need to be deployed to Stage/Prod?
Assignee | ||
Comment 13•10 years ago
|
||
There is no ETA it is not needed for Fx34 nor Fx35 but it will be in the next release before 2nd of September.
You need to log in
before you can comment on or make changes to this bug.
Description
•