-
-
Save a-x-/3837af881180d72840265b03257f108b to your computer and use it in GitHub Desktop.
Re:activeAdmin index.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"collection": [ | |
{ | |
"id": 34076, | |
"number": { | |
"type": "link", | |
"title": "XXXXX", | |
"path": "/admin/package_bags" | |
}, | |
"created_at": 1540358067.520938, | |
"updated_at": 1540370760.258799, | |
"operator": { "type": "link", "path": "/admin/admin_users/1", "title": "Alex" }, | |
"packages": 3, | |
"destination": "irkutsk", | |
"status": "prepared", | |
"_actions_": [ | |
{ | |
"type": "action", | |
"title": "Отправить", | |
"path": "/admin/package_bags/1/move", | |
"method": "patch" | |
} | |
] | |
}, | |
{ | |
"id": 2, | |
"number": { | |
"type": "link", | |
"title": "YYYY", | |
"path": "/admin/package_bags" | |
}, | |
"created_at": 1555431432.931081, | |
"updated_at": 1555431832.615499, | |
"operator": { "type": "link", "path": "/admin/admin_users/2", "title": "Mary" }, | |
"packages": 45, | |
"destination": "omsk", | |
"status": "prepared", | |
"_actions_": [ | |
{ | |
"type": "action", | |
"title": "Отправить", | |
"path": "/admin/package_bags/2/move", | |
"method": "patch" | |
} | |
] | |
} | |
], | |
"headers": [ | |
{ | |
"field": "number" | |
}, | |
{ | |
"field": "created_at" | |
}, | |
{ | |
"field": "updated_at" | |
}, | |
{ | |
"field": "operator" | |
}, | |
{ | |
"field": "packages", | |
"title": "Пакеты" | |
}, | |
{ | |
"field": "destination" | |
}, | |
{ | |
"field": "status" | |
} | |
], | |
"meta": { | |
"page": 0, | |
"pages": 1, | |
"title": null, | |
"i18n": null, | |
"scope": { | |
"block": "prepared", | |
"name": "Запакованные", | |
"symbol": "prepared", | |
"show_count": true, | |
"display_if_block": {}, | |
"default_scope": {} | |
}, | |
"scopes": [ | |
{ | |
"count": null, | |
"id": "pending", | |
"title": "Пустые" | |
}, | |
{ | |
"count": null, | |
"id": "prepared", | |
"title": "Запакованные" | |
}, | |
{ | |
"count": null, | |
"id": "released", | |
"title": "Отправленные" | |
} | |
], | |
"action_items": [] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment