Projects
Once the WXET Account has a funded Budget Pool, a Project can be created. You can first check to see if there are any Projects that already exist using the following:
curl -X GET --location "https://api.wxet.org/v2/project/"
-H "Authorization: <API-Token>"
Projects are s simple methods to organize Tasks, and they follow the structure outlined below. A Project requires a Budget Pool, this is so that any Tasks created within this Project can share an allowance.
For example, A Project can be created every month with a Budget Pool that the amount of money that a Project Manager is allowed to spend.
Additionally, a Project can be created with any JSON serializable object. In the future, this will allow various searching and cataloging features.
curl -X POST --location "https://api.wxet.org/v2/project/" \
-H "Authorization: <API-Token>"
-H "Content-Type: application/json" \
-d '{
"budget_pool_uuid": "<Existing-BudgetPool-UUID>",
"name": "Summer 2024 Project",
"ext_metadata": {
"members": [
4,
35,
40,
90
],
"contact": {
"email": "max@g-r-l.com"
}
}
}'
and it will come back with the fully structured ext_metadata. Now that you have a Project created, it's time to take it's uuid and we're able to create Tasks on the platform.
{
"uuid": "2fca53dd72594b66b0ab0dfffae2d8c2",
"name": "Summer 2024 Project",
"ext_metadata": {
"contact": {
"email": "max@g-r-l.com"
},
"members": [
4,
35,
40,
90
]
},
"created": "2024-08-19T12:12:12.990454Z",
"modified": null,
"budget_pool": {
"uuid": "eaaed7154a4044b6b51a8c389d0b18b9",
"name": "Primary",
"description": "Default funds used to conduct work on the platform.",
"created": "2024-08-20T12:12:12.919572Z",
"modified": null,
"available_balance": 25000
}
}
Last modified: 01 October 2024