Bases: congress.api.base.APIModel
Model for handling API requests about Policies.
Add item to model.
item: The item to add to the model params: A dict-like object containing parameters
from the request query string and body.
id_: The ID of the item, or None if an ID should be generated context: Key-values providing frame of reference of request
Remove item from model.
Execute the action.
Get items in model.
context: Key-values providing frame of reference of request
Simulate the effects of executing a sequence of updates.
Returns: | the result of a query. |
---|