{ "opencollection": "1.0.0", "info": { "name": "Aloft API V1 Accounts Batteries API", "version": "1.0.0" }, "items": [ { "info": { "name": "Batteries", "type": "folder" }, "items": [ { "info": { "name": "Get all batteries", "type": "http" }, "http": { "method": "GET", "url": "https://api.aloft.ai/v1/account/:account_id/batteries", "params": [ { "name": "account_id", "value": "", "type": "path" }, { "name": "search", "value": "", "type": "query", "description": "Search by identifier & source." }, { "name": "order_by", "value": "", "type": "query", "description": "The field to order the data by" }, { "name": "order", "value": "", "type": "query" }, { "name": "retired", "value": "false", "type": "query", "description": "Returns retired batteries" }, { "name": "pilot_id", "value": "", "type": "query", "description": "Filters to only batteries attached to flights flown by a given pilot." }, { "name": "tags_required", "value": "", "type": "query", "description": "When true, all tags must be connected to the object" }, { "name": "tags[]", "value": "", "type": "query", "description": "array of tag ids" }, { "name": "appends[]", "value": "", "type": "query", "description": "Array of appendable resource names" }, { "name": "page", "value": "", "type": "query" }, { "name": "page_length", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get all batteries" }, { "info": { "name": "Create a battery", "type": "http" }, "http": { "method": "POST", "url": "https://api.aloft.ai/v1/account/:account_id/batteries", "params": [ { "name": "account_id", "value": "", "type": "path" }, { "name": "appends[]", "value": "", "type": "query", "description": "Array of appendable resource names" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a battery" }, { "info": { "name": "Get a battery", "type": "http" }, "http": { "method": "GET", "url": "https://api.aloft.ai/v1/account/:account_id/batteries/:battery_id", "params": [ { "name": "account_id", "value": "", "type": "path" }, { "name": "appends[]", "value": "", "type": "query", "description": "Array of appendable resource names" }, { "name": "battery_id", "value": "", "type": "path", "description": "Battery ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get a battery" }, { "info": { "name": "Update a battery", "type": "http" }, "http": { "method": "PUT", "url": "https://api.aloft.ai/v1/account/:account_id/batteries/:battery_id", "params": [ { "name": "account_id", "value": "", "type": "path" }, { "name": "appends[]", "value": "", "type": "query", "description": "Array of appendable resource names" }, { "name": "battery_id", "value": "", "type": "path", "description": "Battery ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a battery" }, { "info": { "name": "Delete a battery", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.aloft.ai/v1/account/:account_id/batteries/:battery_id", "params": [ { "name": "account_id", "value": "", "type": "path" }, { "name": "battery_id", "value": "", "type": "path", "description": "Battery ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a battery" }, { "info": { "name": "List battery manufacturers", "type": "http" }, "http": { "method": "GET", "url": "https://api.aloft.ai/v1/batteries/manufacturers", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List battery manufacturers" }, { "info": { "name": "List battery models", "type": "http" }, "http": { "method": "GET", "url": "https://api.aloft.ai/v1/batteries/models", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List battery models" } ] } ], "bundled": true }