Skip to content

Create a new Action #84

@cfnyu

Description

@cfnyu

As a Developer
I need create a toggle resource action
So that I can toggle the Recommendation Type status on/off

Assumptions:

  • I have a recommendation Type with a status field
  • There will two action API
  • The URL will be /recommendations/activate/{rec_type_id}
  • The URL will be /recommendations/deactivate/{rec_type_id}
  • This verb will be PUT

Acceptance Criteria:

Given I have an Activate resource 
When visit `/recommendations/activate/{rec_type_id}`
Then I should have the ability to make recommendations against that type

Given I have an Deactivate resource 
When visit `/recommendations/deactivate/{rec_type_id}`
Then I should not have the ability to make recommendations against that type

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions