mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Add basic order cycle API
This commit is contained in:
2
app/views/api/order_cycles/bulk_index.v1.rabl
Normal file
2
app/views/api/order_cycles/bulk_index.v1.rabl
Normal file
@@ -0,0 +1,2 @@
|
||||
collection @order_cycles
|
||||
extends "api/order_cycles/bulk_show"
|
||||
3
app/views/api/order_cycles/bulk_show.v1.rabl
Normal file
3
app/views/api/order_cycles/bulk_show.v1.rabl
Normal file
@@ -0,0 +1,3 @@
|
||||
object @order_cycle
|
||||
|
||||
attributes :id, :name
|
||||
Reference in New Issue
Block a user