package equinoxe

  1. Overview
  2. Docs

This module manages API parts related to projects.

val get_projects : t -> Json.t

get_projects t returns all projects associated with the token.

val get_projects_id : t -> id:string -> unit -> Json.t

get_projects_id t ~id () returns the Json.t that is referenced by the id given in parameter.

val get_projects_id_devices : t -> id:string -> unit -> Json.t

get_projects_id_devices t ~id () returns the Json.t that contains all the devices related to the project id.

val post_projects_id_devices : t -> id:string -> config:Devices.config -> unit -> Json.t

post_projects_id_devicest ~id ~config () creates a machine on the Equinix with the Devices.config specification

OCaml

Innovation. Community. Security.