Skip to content

Latest commit

 

History

History
75 lines (44 loc) · 2.41 KB

BootscriptsApi.md

File metadata and controls

75 lines (44 loc) · 2.41 KB

\BootscriptsApi

All URIs are relative to https://api.scaleway.com

Method HTTP request Description
get_bootscript GET /instance/v1/zones/{zone}/bootscripts/{bootscript_id} Get bootscripts
list_bootscripts GET /instance/v1/zones/{zone}/bootscripts List bootscripts

get_bootscript

crate::models::ScalewayPeriodInstancePeriodV1PeriodGetBootscriptResponse get_bootscript(zone, bootscript_id) Get bootscripts

Get details of a bootscript with the given ID.

Parameters

Name Type Description Required Notes
zone String The zone you want to target [required]
bootscript_id String [required]

Return type

crate::models::ScalewayPeriodInstancePeriodV1PeriodGetBootscriptResponse

Authorization

scaleway

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

list_bootscripts

crate::models::ScalewayPeriodInstancePeriodV1PeriodListBootscriptsResponse list_bootscripts(zone, arch, title, default, public, per_page, page) List bootscripts

Parameters

Name Type Description Required Notes
zone String The zone you want to target [required]
arch Option<String>
title Option<String>
default Option<bool>
public Option<bool>
per_page Option<i32>
page Option<i32> Page number [default to 1]

Return type

crate::models::ScalewayPeriodInstancePeriodV1PeriodListBootscriptsResponse

Authorization

scaleway

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]