0

such as from this example below https://developers.google.com/drive/v2/reference/files/get

how/where can i retrieve fileId to use this code? the method require fileId as its parameter ,but I don't know how /where i get it

1

1 Answer 1

1

You would use the list() function to find the list of files in the domain, probably specifying the q attribute to search/query for certain files: https://developers.google.com/drive/v2/reference/files/list

the returned files resource has an id parameter you can use to get the individual file and perform updates, sharing, etc.

https://developers.google.com/drive/v2/reference/files#resource

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.