Create recipe API endpoint

RESOLVED FIXED

Status

RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: mkelly, Assigned: mythmon)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
We will need an API endpoint that returns a list of recipes that match the client accessing the endpoint, with each recipe containing a list of actions and arguments to execute for that recipe. Each action should contain a URL and hash describing where to retrieve the code for executing the action.

The endpoint is described in a bit more detail at http://normandy.readthedocs.org/en/latest/dev/architecture.html#retrieving-recipes, but after some discussion we'd like to make the following changes (both to that doc and to the eventual implementation):

- Rename the 'selfRepairImpl' property to just 'implementation'
- Rename the "get_action_impl" endpoint to "get_action_implementation"
- Rename the "impl" property on the "get_action_implementation" response to "implmentation". (Seeing a pattern?)
(Reporter)

Updated

3 years ago
Blocks: 1240966
(Reporter)

Updated

3 years ago
Assignee: nobody → mkelly
(Reporter)

Updated

3 years ago
Assignee: mkelly → nobody
(Assignee)

Updated

3 years ago
Assignee: nobody → mcooper
Status: NEW → ASSIGNED

Comment 1

3 years ago
Commits pushed to master at https://github.com/mozilla/normandy

https://github.com/mozilla/normandy/commit/385567b0f418e4a68348bb51841a4a0d7a7544dc
[Bug 1240965] Add fetch_bundle api endpoint.

https://github.com/mozilla/normandy/commit/82e3fe6053409530fbdec3b36b6e984c67dc4d81
Merge pull request #12 from mythmon/recipe-endpoint-1240965

[Bug 1240965] Add fetch_bundle api endpoint.
(Assignee)

Updated

3 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
(Reporter)

Updated

3 years ago
Blocks: 1248319
Component: SHIELD → General
Product: Websites → Normandy
You need to log in before you can comment on or make changes to this bug.