This query loads the information about the asset within an organization.
General Pattern
{
assets(filter: AssetFilter){
field_1
field_2{
nested_field_1
}
...
}
}
Sample query
query{
organization(handle:"metaverso"){
assets(filter:{
organizationID:"a1dc174d-abf4-47d3-be3c-9281c6eba456"
}){
id
versions{
id
slug
assetID
name
description
cdnUrl
arweaveTx
}
}
}
}
Sample response
{
"data": {
"organization": {
"assets": [
{
"id": "2c78a96a-1f26-4772-ba96-63a7baf5c230",
"versions": [
{
"id": "e93559a2-f5c6-4387-bb32-54abe8654308",
"slug": "2c78a96a-1f26-4772-ba96-63a7baf5c230",
"assetID": "2c78a96a-1f26-4772-ba96-63a7baf5c230",
"name": "pdf",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/2c78a96a-1f26-4772-ba96-63a7baf5c230.pdf?z=1",
"arweaveTx": ""
}
]
},
{
"id": "f046da39-e52a-4d95-b254-2a407e91c515",
"versions": [
{
"id": "6f61d44e-c636-4e27-826e-83bebcddd632",
"slug": "f046da39-e52a-4d95-b254-2a407e91c515",
"assetID": "f046da39-e52a-4d95-b254-2a407e91c515",
"name": "picture",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/f046da39-e52a-4d95-b254-2a407e91c515.jpeg?z=1",
"arweaveTx": "xDUpVx9k46JrViIpQoQB-QG5ilQ-mN9O6O8-LAS1Kic"
}
]
},
{
"id": "8a241777-b0e5-41fc-93e7-200d5303b998",
"versions": []
},
{
"id": "d29fc377-c436-4f66-95c9-a65a9c1e211b",
"versions": [
{
"id": "ac4b5f7c-9243-43bf-92b6-024b2978af90",
"slug": "d29fc377-c436-4f66-95c9-a65a9c1e211b",
"assetID": "d29fc377-c436-4f66-95c9-a65a9c1e211b",
"name": "landscape",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/d29fc377-c436-4f66-95c9-a65a9c1e211b.jpeg?z=1",
"arweaveTx": "TnlUGnPW2h-WeIl_9kMxWQv5COIXQep4C_4oD8ojXhw"
}
]
},
{
"id": "4595cb12-457d-4ada-ae9a-3046bc5ff4fc",
"versions": [
{
"id": "38e4bac6-7093-4261-b148-c3c68d9dd83a",
"slug": "4595cb12-457d-4ada-ae9a-3046bc5ff4fc",
"assetID": "4595cb12-457d-4ada-ae9a-3046bc5ff4fc",
"name": "public market",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/4595cb12-457d-4ada-ae9a-3046bc5ff4fc.jpg?z=1",
"arweaveTx": "hklRgQI4M0vWB9P1PoVyceLmkYiUEftEKYCMkCoZWWI"
}
]
},
{
"id": "45880fed-0d89-4d7f-94f1-966098d0b6c3",
"versions": [
{
"id": "4bb2c5f0-35d6-48f0-ba09-5fd5d25ac9dc",
"slug": "45880fed-0d89-4d7f-94f1-966098d0b6c3",
"assetID": "45880fed-0d89-4d7f-94f1-966098d0b6c3",
"name": "pool",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/45880fed-0d89-4d7f-94f1-966098d0b6c3.jpeg?z=1",
"arweaveTx": "GfZG5S0_CzFKH8OzZky7rULWnN0_yTCG5jDlifBMu38"
}
]
},
{
"id": "3eb9aa1c-e295-4fb5-a319-f7832093dd78",
"versions": [
{
"id": "f2d4b01a-6afa-4d38-98ae-d3126281e6c0",
"slug": "3eb9aa1c-e295-4fb5-a319-f7832093dd78",
"assetID": "3eb9aa1c-e295-4fb5-a319-f7832093dd78",
"name": "gibsons",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/3eb9aa1c-e295-4fb5-a319-f7832093dd78.jpg?z=1",
"arweaveTx": "J0utaeuZGKGLZdq_SL1kbb5e097ZCY6rX6PQIrwyIEE"
}
]
},
{
"id": "034422b4-1f86-4cbb-a272-8ca9cd2aa758",
"versions": [
{
"id": "399bc50e-06d3-4a40-b53d-ccd33f6d406b",
"slug": "034422b4-1f86-4cbb-a272-8ca9cd2aa758",
"assetID": "034422b4-1f86-4cbb-a272-8ca9cd2aa758",
"name": "new image",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/034422b4-1f86-4cbb-a272-8ca9cd2aa758.jpeg?z=1",
"arweaveTx": "d4qEnG6fiRtilyJXMjxFFnlLvY43lInkbVCw-DCMCcg"
}
]
},
{
"id": "da64b82b-311d-4db0-8e07-0f6e146e2732",
"versions": [
{
"id": "14920e11-13fa-4e2c-96d2-1f066846e982",
"slug": "da64b82b-311d-4db0-8e07-0f6e146e2732",
"assetID": "da64b82b-311d-4db0-8e07-0f6e146e2732",
"name": "fdsfsdf",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/da64b82b-311d-4db0-8e07-0f6e146e2732.jpeg?z=1",
"arweaveTx": "jJL-sFyZCxWtFbc_o-Qyb9CnWMDAxsoD6mKXrwwX8A8"
}
]
},
{
"id": "7fa48273-154b-4bd4-b03d-79aba7c1510f",
"versions": [
{
"id": "5ae7a1f7-328f-444b-8119-08a1ca15c1e9",
"slug": "7fa48273-154b-4bd4-b03d-79aba7c1510f",
"assetID": "7fa48273-154b-4bd4-b03d-79aba7c1510f",
"name": "kakamora",
"description": "This is a test",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/27310e8d-601f-4380-81c7-f06b92d44110/images/778007bf-05f3-4924-9d0f-c9663a5a6217.jpeg",
"arweaveTx": "U9abx4NUpRXj3ym0mPDgrOduxm9_mJP0UbX7mmKobZk"
}
]
},
{
"id": "8a3ef53e-0142-4d8f-8065-3dd52a524de6",
"versions": []
},
{
"id": "7b09fd40-2c22-45b2-a585-b2f50a6448bd",
"versions": [
{
"id": "3e65f86c-0c73-49d7-a919-03f8b1a46d2e",
"slug": "7b09fd40-2c22-45b2-a585-b2f50a6448bd",
"assetID": "7b09fd40-2c22-45b2-a585-b2f50a6448bd",
"name": "cupido",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/7b09fd40-2c22-45b2-a585-b2f50a6448bd.gif?z=1",
"arweaveTx": ""
}
]
},
{
"id": "fa880532-66eb-451c-8682-ccd187690f8e",
"versions": [
{
"id": "e50a3810-35ff-4e8f-a0e1-4a5cfd5b37be",
"slug": "fa880532-66eb-451c-8682-ccd187690f8e",
"assetID": "fa880532-66eb-451c-8682-ccd187690f8e",
"name": "my image",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/fa880532-66eb-451c-8682-ccd187690f8e.jpeg?z=1",
"arweaveTx": ""
}
]
},
{
"id": "d075f7b0-333b-47ce-b3ed-d4dc5da2d2d3",
"versions": [
{
"id": "eb87399d-88a5-496b-bc92-9b77a10718d5",
"slug": "d075f7b0-333b-47ce-b3ed-d4dc5da2d2d3",
"assetID": "d075f7b0-333b-47ce-b3ed-d4dc5da2d2d3",
"name": "movie",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/d075f7b0-333b-47ce-b3ed-d4dc5da2d2d3.mov?z=1",
"arweaveTx": ""
}
]
},
{
"id": "ebd5ce53-8098-424c-a41a-ec82a462803d",
"versions": [
{
"id": "813d3651-f0b6-4547-bb2f-255bf15f3938",
"slug": "ebd5ce53-8098-424c-a41a-ec82a462803d",
"assetID": "ebd5ce53-8098-424c-a41a-ec82a462803d",
"name": "fernando",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/ebd5ce53-8098-424c-a41a-ec82a462803d.png?z=1",
"arweaveTx": "RWu0i5i0qnti2EXkepw5DrpegkDsN_whaY-iLifMkXI"
}
]
},
{
"id": "a56e8d50-7baf-4271-94a1-2a11847eefcf",
"versions": [
{
"id": "981e975f-fafc-4cc3-8eb0-560621a29edc",
"slug": "a56e8d50-7baf-4271-94a1-2a11847eefcf",
"assetID": "a56e8d50-7baf-4271-94a1-2a11847eefcf",
"name": "test 2",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/a56e8d50-7baf-4271-94a1-2a11847eefcf.png?z=1",
"arweaveTx": "iJiLYDO715-NAV63QtpN0p3RESKjrPiOK2QgaaqfvK8"
}
]
},
{
"id": "65f5f52c-e1b2-422f-a6f8-748dab84d547",
"versions": [
{
"id": "cf367150-7efd-477d-accf-fa7b8deb8f4a",
"slug": "65f5f52c-e1b2-422f-a6f8-748dab84d547",
"assetID": "65f5f52c-e1b2-422f-a6f8-748dab84d547",
"name": "camera",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/65f5f52c-e1b2-422f-a6f8-748dab84d547.jpeg?z=1",
"arweaveTx": "S78x1x-RNgPiW3HcQt8rfyjsDso-Ax0TDgPpNx_ae_Q"
}
]
},
{
"id": "1c133abb-e5d2-4b8e-b8e2-86681fea23b5",
"versions": [
{
"id": "075c4152-e003-44ec-8db0-587eb3e31de1",
"slug": "1c133abb-e5d2-4b8e-b8e2-86681fea23b5",
"assetID": "1c133abb-e5d2-4b8e-b8e2-86681fea23b5",
"name": "test",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/1c133abb-e5d2-4b8e-b8e2-86681fea23b5.png?z=1",
"arweaveTx": "pT_nF9AWZDmvnDa8ZY-Rq1rDBJqEnbjqDru3G4t91QM"
}
]
},
{
"id": "4a3e6d5d-5fa2-4620-adb2-b679b4f30a56",
"versions": [
{
"id": "9d5f64f7-be19-4b81-821c-d7066345f320",
"slug": "4a3e6d5d-5fa2-4620-adb2-b679b4f30a56",
"assetID": "4a3e6d5d-5fa2-4620-adb2-b679b4f30a56",
"name": "sky",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/4a3e6d5d-5fa2-4620-adb2-b679b4f30a56.jpeg?z=1",
"arweaveTx": "Gbfr5K6ZT_f9MXtwL3ERgxswMH-M01zVnrmfIdj4JMc"
}
]
},
{
"id": "7866bc89-5835-4273-bbde-436eebb97ae4",
"versions": [
{
"id": "cd86b70b-46f6-4874-b6cf-dcf2a0f84d1e",
"slug": "7866bc89-5835-4273-bbde-436eebb97ae4",
"assetID": "7866bc89-5835-4273-bbde-436eebb97ae4",
"name": "",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/7866bc89-5835-4273-bbde-436eebb97ae4.jpg?z=1",
"arweaveTx": "M7pVoX6gaBZqWvZOPpXNkMiv6oDDB24i_JvcKv7jKCo"
}
]
},
{
"id": "a3ffa8be-684e-42bb-bb39-80ca2d7a4acf",
"versions": [
{
"id": "295a2f36-4b33-4bdc-9fbb-f4ba6e82cde1",
"slug": "a3ffa8be-684e-42bb-bb39-80ca2d7a4acf",
"assetID": "a3ffa8be-684e-42bb-bb39-80ca2d7a4acf",
"name": "test",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/a3ffa8be-684e-42bb-bb39-80ca2d7a4acf.jpeg?z=1",
"arweaveTx": "AAFxws-SQoyr6o16O26qKzQz7HucOZEFYD9LEIPOmo8"
}
]
},
{
"id": "e40535e8-173d-45ef-bb41-c6b576cb58f9",
"versions": [
{
"id": "4d5b692f-7ad0-44e7-9d78-33e9a455f5e5",
"slug": "e40535e8-173d-45ef-bb41-c6b576cb58f9",
"assetID": "e40535e8-173d-45ef-bb41-c6b576cb58f9",
"name": "mojito3",
"description": "asset description",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public//organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/e40535e8-173d-45ef-bb41-c6b576cb58f9.jpeg?z=1",
"arweaveTx": "-77wKd1Try4TWXz1r5nYJye77utGydWLtarxXtMNO9o"
}
]
},
{
"id": "9d52af84-ec00-4c85-8f97-ed854a44a5e0",
"versions": [
{
"id": "8db37996-394a-4998-abc3-ddd4ceeaba5b",
"slug": "9d52af84-ec00-4c85-8f97-ed854a44a5e0",
"assetID": "9d52af84-ec00-4c85-8f97-ed854a44a5e0",
"name": "mojito",
"description": "",
"cdnUrl": "https://storage.googleapis.com/mojito-dev-public/organizations/a1dc174d-abf4-47d3-be3c-9281c6eba456/images/9d52af84-ec00-4c85-8f97-ed854a44a5e0.jpeg?z=1",
"arweaveTx": ""
}
]
}
]
}
}
}
Arguments
Name | Type | Description | Required |
---|---|---|---|
filter | Object | A filter to sort the asset. It contains the organization ID. | Yes |
Fields
Example
Load asset information using AssetFilter object: