Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Routes

Impacts routes

The impact routes are used to retrieve the impacts of a given usage and configuration for a given asset. They represent the main feature of the API.

Query parameters

They all have the same query parameters. If no query parameters are provided, the default values will be used.

ParameterDescriptionDefaultExample
criteriaList the impact criteria you want the API to compute .All impacts criteria can be found here/v1/utils/impact_criteriacriteria=gwp&criteria=pe&criteria=adpcriteria=gwp
verboseIf set at true, the API will detail the data used in the assessment. Seeverbose.verbose=trueverbose=false
archetypeThe missing data will be completed from the chosen archetype.Not implemented for cloud routes. SeearchetypeDefault archetype for each asset can be set in the configuration filearchetype=compute_medium
durationDuration considered for the assessment. If not provided, the total duration (lifetime) of the asset will be used.Noneduration=8760 (1 year)

GET

Requesting the route with a GET method will return the impacts with the values taken from the archetype.

MethodRoutesDescription
GET/v1/serverRetrieve the impacts of a server archetype
GET/v1/cloudRetrieve the impacts of a cloud instance
GET/v1/terminal/laptopRetrieve the impacts of a laptop
GET/v1/terminal/desktopRetrieve the impacts of a desktop (without screen)
GET/v1/terminal/smartphoneRetrieve the impacts of a smartphone
GET/v1/terminal/tabletRetrieve the impacts of a tablet
GET/v1/terminal/televisionRetrieve the impacts of a television
GET/v1/terminal/boxRetrieve the impacts of a box
GET/v1/terminal/vr_headsetRetrieve the impacts of a VR headset
GET/v1/peripheral/monitorRetrieve the impacts of a monitor (computer screen)
GET/v1/peripheral/usb_stickRetrieve the impacts of a usb_stick
GET/v1/peripheral/external_ssdRetrieve the impacts of a external_ssd
GET/v1/peripheral/external_hddRetrieve the impacts of a external_hdd
GET/v1/peripheral/vr_controllerRetrieve the impacts of a vr controller
GET/v1/component/cpuRetrieve the impacts of a cpu
GET/v1/component/ssdRetrieve the impacts of a ssd
GET/v1/component/ramRetrieve the impacts of a ram
GET/v1/component/hddRetrieve the impacts of a hdd
GET/v1/component/motherboardRetrieve the impacts of a motherboard
GET/v1/component/power_supplyRetrieve the impacts of a power_supply
GET/v1/component/caseRetrieve the impacts of a case
GET/v1/iot/iot_deviceRetrieve the impacts of an IoT device

POST

Requesting the route with a POST method will return the impacts with the values taken from the body. Missing values will be taken from the archetype or set by default.The format section of the documentation details the format of the body for each route.

MethodRoutesDescription
POST/v1/serverRetrieve the impacts of a given usage and configuration for a server
POST/v1/cloudRetrieve the impacts of a given usage for a cloud instance
POST/v1/terminal/laptopRetrieve the impacts of a given usage and configuration for a laptop
POST/v1/terminal/desktopRetrieve the impacts of a given usage and configuration for a desktop (without screen)
POST/v1/terminal/smartphoneRetrieve the impacts of a given usage and configuration for a smartphone
POST/v1/terminal/tabletRetrieve the impacts of a given usage and configuration for a tablet
POST/v1/terminal/televisionRetrieve the impacts of a given usage and configuration for a television
POST/v1/terminal/boxRetrieve the impacts of a given usage and configuration for a box
POST/v1/terminal/vr_headsetRetrieve the impacts of a given usage and configuration for a VR headset
POST/v1/peripheral/monitorRetrieve the impacts of a given usage and configuration for a monitor (computer screen)
POST/v1/peripheral/usb_stickRetrieve the impacts of a given usage and configuration for a usb_stick
POST/v1/peripheral/external_ssdRetrieve the impacts of a given usage and configuration for a external_ssd
POST/v1/peripheral/external_hddRetrieve the impacts of a given usage and configuration for a external_hdd
POST/v1/peripheral/vr_controllerRetrieve the impacts of a given usage and configuration for a vr controller
POST/v1/component/cpuRetrieve the impacts of a given usage and configuration for a cpu
POST/v1/component/ssdRetrieve the impacts of a given usage and configuration for a ssd
POST/v1/component/ramRetrieve the impacts of a given usage and configuration for a ram
POST/v1/component/hddRetrieve the impacts of a given usage and configuration for a hdd
POST/v1/component/motherboardRetrieve the impacts of a given usage and configuration for a motherboard
POST/v1/component/power_supplyRetrieve the impacts of a given usage and configuration for a power_supply
POST/v1/component/caseRetrieve the impacts of a given usage and configuration for a case
POST/v1/iot/iot_deviceRetrieve the impacts of an IoT device

Consumption profile routes

MethodRoutesparametersDescription
POST/v1/consumption_profile/cpuverboseRetrieve the consumption profile of a given CPU. Seeget started with consumption profiles

Utils routes

Utils routes are used to retrieve the list of possible values for some parameters, to retrieve the list of archetypes for a given asset or to use some specific features.

MethodRoutesparametersDescription
GET/v1/server/archetypesGet all available server archetype
GET/v1/server/archetype_configarchetypeGet the config of a given archetype
GET/v1/cloud/all_instancesproviderGet all available cloud instances for a given provider
GET/v1/cloud/all_providersGet all available cloud providers
GET/v1/server/archetype_configinstanceGet the config of a given instance
GET/v1/terminal/allGet all available terminal with their route prefix
GET/v1/terminal/laptop/archetypesGet all available archetype for a given laptop name
GET/v1/terminal/laptop/archetype_configarchetypeGet the config of a given archetype
GET/v1/terminal/desktop/archetypesGet all available archetype for a given desktop name
GET/v1/terminal/desktop/archetype_configarchetypeGet the config of a given archetype
GET/v1/terminal/smartphone/archetypesGet all available archetype for a given smartphone name
GET/v1/terminal/smartphone/archetype_configarchetypeGet the config of a given archetype
GET/v1/terminal/tablet/archetypesGet all available archetype for a given tablet name
GET/v1/terminal/tablet/archetype_configarchetypeGet the config of a given archetype
GET/v1/terminal/television/archetypesGet all available archetype for a given television name
GET/v1/terminal/television/archetype_configarchetypeGet the config of a given archetype
GET/v1/terminal/box/archetypesGet all available archetype for a given box name
GET/v1/terminal/box/archetype_configarchetypeGet the config of a given archetype
GET/v1/terminal/vr_headset/archetypesGet all available archetype for a given vr_headset name
GET/v1/terminal/vr_headset/archetype_configarchetypeGet the config of a given archetype
GET/v1/peripheral/allGet all available peripheral with their route prefix
GET/v1/peripheral/monitor/archetypesGet all available archetype for a given monitor name
GET/v1/peripheral/monitor/archetype_configarchetypeGet the config of a given archetype
GET/v1/peripheral/usb_stick/archetypesGet all available archetype for a given usb_stick name
GET/v1/peripheral/usb_stick/archetype_configarchetypeGet the config of a given archetype
GET/v1/peripheral/external_hdd/archetypesGet all available archetype for a given external_hdd name
GET/v1/peripheral/external_hdd/archetype_configarchetypeGet the config of a given archetype
GET/v1/peripheral/external_ssd/archetypesGet all available archetype for a given external_ssd name
GET/v1/peripheral/external_ssd/archetype_configarchetypeGet the config of a given archetype
GET/v1/peripheral/vr_controller/archetypesGet all available archetype for a given vr_controller name
GET/v1/peripheral/vr_controller/archetype_configarchetypeGet the config of a given archetype
GET/v1/component/allGet all available components with their route prefix
GET/v1/component/cpu/archetypesGet all available archetype for a cpu
GET/v1/component/cpu/archetype_configarchetypeGet the config of a given cpu archetype
GET/v1/component/ram/archetypesGet all available archetype for a ram
GET/v1/component/ram/archetype_configarchetypeGet the config of a given ram archetype
GET/v1/component/ssd/archetypesGet all available archetype for a ssd
GET/v1/component/ssd/archetype_configarchetypeGet the config of a given ssd archetype
GET/v1/component/hdd/archetypesGet all available archetype for a hdd
GET/v1/component/hdd/archetype_configarchetypeGet the config of a given hdd archetype
GET/v1/component/motherboard/archetypesGet all available archetype for a motherboard
GET/v1/component/motherboard/archetype_configarchetypeGet the config of a given motherboard archetype
GET/v1/component/case/archetypesGet all available archetype for a case
GET/v1/component/case/archetype_configarchetypeGet the config of a given case archetype
GET/v1/component/power_supply/archetypesGet all available archetype for a power_supply
GET/v1/component/power_supply/archetype_configarchetypeGet the config of a given power_supply archetype
GET/v1/iot/iot_device/archetypesGet all available archetype for an iot device
GET/v1/iot/iot_device/archetype_configarchetypeGet the config of a given iot device archetype
GET/v1/utils/country_codeGet all available country code associated to its country name
GET/v1/utils/cpu_model_rangeGet all available model_range
GET/v1/utils/ssd_manufacturerGet all available ssd manufacturer
GET/v1/utils/ram_manufacturerGet all available ram manufacturer
GET/v1/utils/case_typeGet all available case type
GET/v1/utils/name_to_cpucpu_nameGet a description of a CPU from its name
GET/v1/utils/cpu_nameGet all available cpu name
GET/v1/utils/impact_criteriaGet all available impact criteria (name, code, description, unit)

[8]ページ先頭

©2009-2025 Movatter.jp