Skip to content

Instantly share code, notes, and snippets.

@rubenmarcus
Created June 1, 2020 20:03
Show Gist options
  • Select an option

  • Save rubenmarcus/9b5a759da10420d37343a0d74f5eef1d to your computer and use it in GitHub Desktop.

Select an option

Save rubenmarcus/9b5a759da10420d37343a0d74f5eef1d to your computer and use it in GitHub Desktop.
// 20200601170056
// http://localhost:1337/testes/1
{
"id": 1,
"content": "const itaudev = require('itaudev');\n\n(async() => {\n let transactions = await itaudev .transaction.query({\n after: '2020-04-01',\n before: '2020-05-01'\n });\n\n for await (let transaction of transactions) {\n console.log(transaction);\n }\n})();",
"richtext": "<p><strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\n\n\n\n",
"json": null,
"created_at": "2020-06-01T19:47:50.391Z",
"updated_at": "2020-06-01T20:00:51.321Z",
"media": [
{
"id": 1,
"name": "logo-2 (1)",
"alternativeText": "",
"caption": "",
"width": 712,
"height": 697,
"formats": {
"thumbnail": {
"hash": "thumbnail_logo_2_1_a7f68561d1",
"ext": ".jpeg",
"mime": "image/jpeg",
"width": 159,
"height": 156,
"size": 3.82,
"path": null,
"url": "/uploads/thumbnail_logo_2_1_a7f68561d1.jpeg"
},
"small": {
"hash": "small_logo_2_1_a7f68561d1",
"ext": ".jpeg",
"mime": "image/jpeg",
"width": 500,
"height": 489,
"size": 22.16,
"path": null,
"url": "/uploads/small_logo_2_1_a7f68561d1.jpeg"
}
},
"hash": "logo_2_1_a7f68561d1",
"ext": ".jpeg",
"mime": "image/jpeg",
"size": 37.47,
"url": "/uploads/logo_2_1_a7f68561d1.jpeg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2020-06-01T20:00:46.393Z",
"updated_at": "2020-06-01T20:00:46.393Z"
},
{
"id": 2,
"name": "IMG_20191206_093501",
"alternativeText": "",
"caption": "",
"width": 4608,
"height": 3456,
"formats": {
"thumbnail": {
"hash": "thumbnail_IMG_20191206_093501_35eca746cb",
"ext": ".jpeg",
"mime": "image/jpeg",
"width": 208,
"height": 156,
"size": 3.8,
"path": null,
"url": "/uploads/thumbnail_IMG_20191206_093501_35eca746cb.jpeg"
},
"large": {
"hash": "large_IMG_20191206_093501_35eca746cb",
"ext": ".jpeg",
"mime": "image/jpeg",
"width": 1000,
"height": 750,
"size": 56.81,
"path": null,
"url": "/uploads/large_IMG_20191206_093501_35eca746cb.jpeg"
},
"medium": {
"hash": "medium_IMG_20191206_093501_35eca746cb",
"ext": ".jpeg",
"mime": "image/jpeg",
"width": 750,
"height": 563,
"size": 32.28,
"path": null,
"url": "/uploads/medium_IMG_20191206_093501_35eca746cb.jpeg"
},
"small": {
"hash": "small_IMG_20191206_093501_35eca746cb",
"ext": ".jpeg",
"mime": "image/jpeg",
"width": 500,
"height": 375,
"size": 15.12,
"path": null,
"url": "/uploads/small_IMG_20191206_093501_35eca746cb.jpeg"
}
},
"hash": "IMG_20191206_093501_35eca746cb",
"ext": ".jpeg",
"mime": "image/jpeg",
"size": 1332.79,
"url": "/uploads/IMG_20191206_093501_35eca746cb.jpeg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2020-06-01T20:00:46.663Z",
"updated_at": "2020-06-01T20:00:46.663Z"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment