package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val getRest : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> api:string -> version:string -> GapiConversation.Session.t -> GapiDiscoveryV1Model.RestDescription.t * GapiConversation.Session.t

Retrieve the description of a particular version of an api.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/discovery/v1/").

  • parameter std_params

    Optional standard parameters.

  • parameter api

    The name of the API.

  • parameter version

    The version of the API.

val list : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?preferred:bool -> ?name:string -> GapiConversation.Session.t -> GapiDiscoveryV1Model.DirectoryList.t * GapiConversation.Session.t

Retrieve the list of APIs supported at this endpoint.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/discovery/v1/").

  • parameter std_params

    Optional standard parameters.

  • parameter preferred

    Return only the preferred version of an API.

  • parameter name

    Only include APIs with the given name.