Closed Bug 1240965 Opened 8 years ago Closed 8 years ago

Create recipe API endpoint

Categories

(Shield :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: osmose, Assigned: mythmon)

References

Details

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?)
Blocks: 1240966
Assignee: nobody → mkelly
Assignee: mkelly → nobody
Assignee: nobody → mcooper
Status: NEW → ASSIGNED
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.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Blocks: 1248319
Component: SHIELD → General
Product: Websites → Normandy
You need to log in before you can comment on or make changes to this bug.