Skip to content

Latest commit

 

History

History
73 lines (46 loc) · 1.95 KB

MeDriveRootChildrenApi.md

File metadata and controls

73 lines (46 loc) · 1.95 KB

\MeDriveRootChildrenApi

All URIs are relative to https://localhost:9200/graph

Method HTTP request Description
HomeGetChildren Get /v1.0/me/drive/root/children Get children from drive

HomeGetChildren

CollectionOfDriveItems HomeGetChildren(ctx).Select_(select_).Execute()

Get children from drive

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/opencloud-eu/libre-graph-api-go"
)

func main() {
	select_ := []string{"Select_example"} // []string | Select additional properties to be returned. (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.MeDriveRootChildrenApi.HomeGetChildren(context.Background()).Select_(select_).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `MeDriveRootChildrenApi.HomeGetChildren``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `HomeGetChildren`: CollectionOfDriveItems
	fmt.Fprintf(os.Stdout, "Response from `MeDriveRootChildrenApi.HomeGetChildren`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiHomeGetChildrenRequest struct via the builder pattern

Name Type Description Notes
select_ []string Select additional properties to be returned.

Return type

CollectionOfDriveItems

Authorization

openId, basicAuth

HTTP request headers

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

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