All URIs are relative to https://demo.firefly-iii.org
Method | HTTP request | Description |
---|---|---|
delete_tag | DELETE /api/v1/tags/{tag} | Delete an tag. |
get_tag | GET /api/v1/tags/{tag} | Get a single tag. |
get_tag_cloud | GET /api/v1/tag-cloud | Returns a basic tag cloud. |
list_attachment_by_tag | GET /api/v1/tags/{tag}/attachments | Lists all attachments. |
list_tag | GET /api/v1/tags | List all tags. |
list_transaction_by_tag | GET /api/v1/tags/{tag}/transactions | List all transactions with this tag. |
store_tag | POST /api/v1/tags | Store a new tag |
update_tag | PUT /api/v1/tags/{tag} | Update existing tag. |
delete_tag(tag) Delete an tag.
Delete an tag.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tag | String | Either the tag itself or the tag ID. | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::TagSingle get_tag(tag, page) Get a single tag.
Get a single tag.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tag | String | Either the tag itself or the tag ID. | [required] | |
page | Option<i32> | Page number |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::TagCloud get_tag_cloud(start, end) Returns a basic tag cloud.
Returns a list of tags, which can be used to draw a basic tag cloud.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
start | String | A date formatted YYYY-MM-DD. | [required] | |
end | String | A date formatted YYYY-MM-DD. | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::AttachmentArray list_attachment_by_tag(tag, page) Lists all attachments.
Lists all attachments.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tag | String | Either the tag itself or the tag ID. | [required] | |
page | Option<i32> | Page number. The default pagination is 50. |
crate::models::AttachmentArray
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::TagArray list_tag(page) List all tags.
List all of the user's tags.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
page | Option<i32> | Page number |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::TransactionArray list_transaction_by_tag(tag, page, start, end, _type) List all transactions with this tag.
List all transactions with this tag.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tag | String | Either the tag itself or the tag ID. | [required] | |
page | Option<i32> | Page number. The default pagination is 50. | ||
start | Option<String> | A date formatted YYYY-MM-DD. This is the start date of the selected range (inclusive). | ||
end | Option<String> | A date formatted YYYY-MM-DD. This is the end date of the selected range (inclusive). | ||
_type | Option<crate::models::TransactionTypeFilter> | Optional filter on the transaction type(s) returned. |
crate::models::TransactionArray
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::TagSingle store_tag(tag_model) Store a new tag
Creates a new tag. The data required can be submitted as a JSON body or as a list of parameters.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tag_model | TagModel | JSON array or key=value pairs with the necessary tag information. See the model for the exact specifications. | [required] |
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::TagSingle update_tag(tag, tag_model) Update existing tag.
Update existing tag.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tag | String | Either the tag itself or the tag ID. | [required] | |
tag_model | TagModel | JSON array with updated tag information. See the model for the exact specifications. | [required] |
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]