Closed
Bug 1515354
Opened 6 years ago
Closed 6 years ago
Create layout endpoint
Categories
(Firefox :: New Tab Page, enhancement, P2)
Firefox
New Tab Page
Tracking
()
RESOLVED
FIXED
Firefox 66
People
(Reporter: mmiermans, Assigned: mmiermans)
References
Details
Create /v3/home/layout to return layout json.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Initial version of layout API is available on my staging server. Let me know if you want it to return a particular layout.
Assignee | ||
Comment 2•6 years ago
|
||
Repost from Slack:
Layout endpoint is live on our production server:
https://getpocket.com/v3/home/layout?version=1&consumer_key=40249-e88c401e1b1f2242d9e441c4
You can use Mozilla's CDN as we do for the current new-tab:
https://getpocket.cdn.mozilla.net/v3/home/layout?version=1&consumer_key=40249-e88c401e1b1f2242d9e441c4
Let me know if you want to test any particular layouts. Once the actual feed variants are defined by product, I'll add those too.
We're also hosting the endpoint definition (thanks for the idea @gvn!)
https://getpocket.com/v3/home/layout.yml
It's using the OpenAPI 3.0 syntax. The intent is to use this for automated tests, to validate that the schema. Let me know if you want to use it for some other purpose, in particular if you want to use it in production code, which I am assuming we won't do.
Assignee | ||
Updated•6 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Target Milestone: --- → Firefox 66
Updated•6 years ago
|
Component: Activity Streams: Newtab → New Tab Page
You need to log in
before you can comment on or make changes to this bug.
Description
•