API Note
Note
Chemin : /api/note/note/
Options
{
"name": "Note Polymorphic List",
"description": "REST API View set.\nThe djangorestframework plugin will get all `Note` objects (with polymorhism),\nserialize it to JSON with the given serializer,\nthen render it on /api/note/note/",
"renders": [
"application/json",
"text/html"
],
"parses": [
"application/json",
"application/x-www-form-urlencoded",
"multipart/form-data"
],
"actions": {
"POST": {}
}
}
Filtres Django
alias__namepolymorphic_ctypeis_activebalancelast_negativecreated_at
Tris possible
alias__namealias__normalized_namebalancecreated_at
Filtres de recherche
alias__normalized_name(expression régulière)alias__name(expression régulière)polymorphic_ctype__model(expression régulière)noteuser__user__last_name(expression régulière)noteuser__user__first_name(expression régulière)noteuser__user__email(expression régulière)noteuser__user__email(expression régulière)noteclub__club__email(expression régulière)
Alias
Chemin : /api/note/alias/
Options
{
"name": "Alias List",
"description": "REST API View set.\nThe djangorestframework plugin will get all `Alias` objects, serialize it to JSON with the given serializer,\nthen render it on /api/aliases/",
"renders": [
"application/json",
"text/html"
],
"parses": [
"application/json",
"application/x-www-form-urlencoded",
"multipart/form-data"
],
"actions": {
"POST": {
"id": {
"type": "integer",
"required": false,
"read_only": true,
"label": "ID"
},
"name": {
"type": "string",
"required": true,
"read_only": false,
"label": "Nom",
"max_length": 255
},
"normalized_name": {
"type": "string",
"required": false,
"read_only": true,
"label": "Normalized name"
},
"note": {
"type": "field",
"required": true,
"read_only": false,
"label": "Note"
}
}
}
}
Filtres Django
notenote__noteuser__usernote__noteclub__clubnote__polymorphic_ctype__model
Tris possible
namenormalized_name
Filtres de recherche
alias(cherche en priorité les alias les plus proches, puis cherche les alias normalisés)normalized_name(expression régulière)name(expression régulière)note__polymorphic_ctype__model(expression régulière)
Consommateur
Chemin : /api/note/consumer/
Options
{
"name": "Consumer List",
"description": "",
"renders": [
"application/json",
"text/html"
],
"parses": [
"application/json",
"application/x-www-form-urlencoded",
"multipart/form-data"
]
}
Note
Cette page est en lecture seule. Elle offre l’avantage de fournir directement les informations sur la note associée à l’alias au lieu de l’identifiant uniquement, afin de minimiser les appels à l’API.
Filtres Django
alias(expression régulière, cherche en priorité les alias les plus proches, puis cherche les alias normalisés)notenote__noteuser__usernote__noteclub__clubnote__polymorphic_ctype__model
Tris possible
namenormalized_name
Filtres de recherche
normalized_name(expression régulière)name(expression régulière)note__polymorphic_ctype__model(expression régulière)
Catégorie de transaction
Chemin : /api/note/transaction/category/
Options
{
"name": "Template Category List",
"description": "REST API View set.\nThe djangorestframework plugin will get all `TemplateCategory` objects, serialize it to JSON with the given serializer,\nthen render it on /api/note/transaction/category/",
"renders": [
"application/json",
"text/html"
],
"parses": [
"application/json",
"application/x-www-form-urlencoded",
"multipart/form-data"
],
"actions": {
"POST": {
"id": {
"type": "integer",
"required": false,
"read_only": true,
"label": "ID"
},
"name": {
"type": "string",
"required": true,
"read_only": false,
"label": "Nom",
"max_length": 31
}
}
}
}
Filtres Django
nametemplatestemplates__name
Filtres de recherche
name(expression régulière)templates__name(expression régulière)
Modèle de transaction
Chemin : /api/note/transaction/template/
Options
{
"name": "Transaction Template List",
"description": "REST API View set.\nThe djangorestframework plugin will get all `TransactionTemplate` objects, serialize it to JSON with the given serializer,\nthen render it on /api/note/transaction/template/",
"renders": [
"application/json",
"text/html"
],
"parses": [
"application/json",
"application/x-www-form-urlencoded",
"multipart/form-data"
],
"actions": {
"POST": {
"id": {
"type": "integer",
"required": false,
"read_only": true,
"label": "ID"
},
"name": {
"type": "string",
"required": true,
"read_only": false,
"label": "Nom",
"max_length": 255
},
"amount": {
"type": "integer",
"required": true,
"read_only": false,
"label": "Montant",
"min_value": 0,
"max_value": 2147483647
},
"display": {
"type": "boolean",
"required": false,
"read_only": false,
"label": "Afficher"
},
"highlighted": {
"type": "boolean",
"required": false,
"read_only": false,
"label": "Mis en avant"
},
"description": {
"type": "string",
"required": false,
"read_only": false,
"label": "Description",
"max_length": 255
},
"destination": {
"type": "field",
"required": true,
"read_only": false,
"label": "Destination"
},
"category": {
"type": "field",
"required": true,
"read_only": false,
"label": "Type"
}
}
}
}
Filtres Django
nameamountdisplaycategorycategory__name
Tris possible
amount
Filtres de recherche
name(expression régulière)category__name(expression régulière)
Transaction
Chemin : /api/note/transaction/transaction/
Options
{
"name": "Transaction List",
"description": "REST API View set.\nThe djangorestframework plugin will get all `Transaction` objects, serialize it to JSON with the given serializer,\nthen render it on /api/note/transaction/transaction/",
"renders": [
"application/json",
"text/html"
],
"parses": [
"application/json",
"application/x-www-form-urlencoded",
"multipart/form-data"
],
"actions": {
"POST": {}
}
}
Filtres Django
sourcesource_aliassource__alias__namesource__alias__normalized_namedestinationdestination_aliasdestination__alias__namedestination__alias__normalized_namequantitypolymorphic_ctypeamountcreated_atvalidinvalidity_reason
Tris possible
created_atamount
Filtres de recherche
reason(expression régulière)source_alias(expression régulière)source__alias__name(expression régulière)source__alias__normalized_name(expression régulière)destination_alias(expression régulière)destination__alias__name(expression régulière)destination__alias__normalized_name(expression régulière)invalidity_reason(expression régulière)