A
A
andyceo2012-01-12 12:58:10
Google
andyceo, 2012-01-12 12:58:10

Google Docs API: site integration and document rights

Greetings!

There are a few questions about the Google Docs API, I hope the community can help solve them. The level of knowledge on Google Docs is zero, so something may be formulated incorrectly, in this case I hope that you will also correct it and suggest a better solution.

Task:
In a nutshell, site integration with Google Docs. And in more detail, here:

In Google Docs, through the web interface, a collection (folder) was previously created under a specific account, into which it is planned to add documents from the site.

On the site, the settings specify:
- a Google account from which documents will be created,
- a token for working with the Google Docs API,
- a collection (folder) where documents will be added
- a list of Google accounts (or email addresses on gmail) that you need to invite to collaborate on a document.

It is necessary that when you fill out a certain form on the site, a document is generated in Google Docs in a given collection, the author and owner of which is the account specified in the site settings.

Also, it is necessary, after creating the document, to invite participants from the list to collaborate on the document. Some members can view only, while others can view and edit. The document should not be available to anyone else, and by any links. Anonymous access is prohibited.

The following is not clear:
1. Is it possible to create a document in the specified collection from the specified author? Which of the bunch of Google Document APIs is designed for this?
2. Is it possible to implement the document rights management described in the task through some Google API for working with documents? What API?
3. Is it possible to attach a certain circle of users to one or another collection of the author of the document, and make it so that when a new document is created / edited in this collection, an invitation to collaborate was sent to this circle? Roughly speaking, an analogue of a shared folder. It is desirable that not everyone has access to editing / changing: for some, only viewing.

I will be very grateful for the answers. It is highly recommended that you answer the possible/impossible questions and indicate which api to smoke if what is being asked is possible. And if there are code examples (in any language), then it's just great in general! :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vl103080, 2014-01-20
@vl103080

Learn here https://developers.google.com/drive/web/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question