Closed Bug 1515354 Opened 4 years ago Closed 4 years ago
Create layout endpoint
Create /v3/home/layout to return layout json.
Assignee: nobody → mathijs
Status: NEW → ASSIGNED
Priority: -- → P2
Initial version of layout API is available on my staging server. Let me know if you want it to return a particular layout.
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.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.