POST /v1/documents
Changed onCreates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document.
Request
- Base URLhttps://docs.googleapis.com
- URLhttps://docs.googleapis.com/v1/documents
- Auth
- OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/documentsAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/documents
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/driveAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/drive
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/drive.fileAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/drive.file
Request body
Response
Successful response
Changes
- breaking
removed the request body
- breaking
removed the media type
*/*for the response with the status - info
the security scope
https://www.googleapis.com/auth/documentswas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/documentswas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/drive.filewas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/drive.filewas removed from the endpoint's security schemeOauth2c
- breaking
- info
the security scope
https://www.googleapis.com/auth/documentswas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/documentswas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/drive.filewas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/drive.filewas removed from the endpoint's security schemeOauth2c - info
added the new optional request property
////// - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
/////// - info
added the new optional request property
/////// - info
added the new optional request property
/////// - info
added the new optional request property
- info
added the new optional request property
///////// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
////////// - info
added the new optional request property
////////// - info
added the new optional request property
////////// - info
added the optional property
//////to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
/////////to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status
- info