api-flow
Version:
A flow written in ES6 using Immutable to convert between API description formats (Swagger, etc.) and other programs such as cURL command lines.
206 lines • 4.79 kB
JSON
{
"variables": [],
"info": {
"name": "ma702010prod",
"_postman_id": "acca86fe-353d-5fd5-a6c6-152fad237f36",
"description": "",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
"name": "Autorizzazione",
"request": {
"url": "http://ma702010app.appspot.com/oauth/token?grant_type=password&client_secret=ma702010-client-secret&client_id=ma702010-client&password=officinacc&username=officinacc&scope=read,write,trust ",
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "urlencoded",
"urlencoded": []
},
"description": ""
},
"response": []
},
{
"name": "dettagli utente",
"request": {
"url": "http://ma702010app.appspot.com/api/user",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer fcf75644-743b-4130-8199-6373b0b5cef6",
"description": ""
}
],
"body": {
"mode": "urlencoded",
"urlencoded": []
},
"description": ""
},
"response": []
},
{
"name": "panoramica Importi",
"request": {
"url": "http://ma702010app.appspot.com/api/panoramicaImporti",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer 57a2eb6c-9279-4df0-b468-b20759abeb43",
"description": ""
}
],
"body": {
"mode": "urlencoded",
"urlencoded": []
},
"description": ""
},
"response": []
},
{
"name": "categorie",
"request": {
"url": "http://ma702010app.appspot.com/api/categories",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer 57a2eb6c-9279-4df0-b468-b20759abeb43",
"description": ""
}
],
"body": {
"mode": "urlencoded",
"urlencoded": []
},
"description": ""
},
"response": []
},
{
"name": "stato finanziario (702010)",
"request": {
"url": "http://ma702010app.appspot.com/api/financialState?date=2016-06-05",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer c4da9ce3-7d80-4617-8122-b43968f77606",
"description": ""
}
],
"body": {
"mode": "urlencoded",
"urlencoded": []
},
"description": "richiesta per mese (default mese corrente). Formato ISO yyyy-MM-dd"
},
"response": []
},
{
"name": "creazione importo",
"request": {
"url": "http://ma702010app.appspot.com/api/amount",
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer 5f752c61-cf7f-4888-9410-0ecffda071f3",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"date\":\"2016-06-06T15:15:02+02:00\",\r\n \"categoryId\":3,\r\n \"amount\":22.6,\r\n \"note\":\"importo di prova\",\r\n \"recurrence\":\"MONTHLY\"\r\n}"
},
"description": "enum ricorrenza\nNEVER, DAILY, WEEKLY, MONTHLY, YEARLY"
},
"response": []
},
{
"name": "cancellazione logica importo",
"request": {
"url": "http://ma702010app.appspot.com/api/amount/1480",
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer c4da9ce3-7d80-4617-8122-b43968f77606",
"description": ""
}
],
"body": {
"mode": "urlencoded",
"urlencoded": []
},
"description": "set dell'attributo deleted a true. Uso PUT perchè è una modifica del record"
},
"response": []
},
{
"name": "lista importi (mensile)",
"request": {
"url": "http://ma702010app.appspot.com/api/amount?date=2016-06-22",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer fa06d8e8-8e24-4cff-8dbb-69e1fc758077",
"description": ""
}
],
"body": {
"mode": "urlencoded",
"urlencoded": []
},
"description": "richiesta per mese (default mese corrente). Formato ISO yyyy-MM-dd"
},
"response": []
}
]
}