Package com.dropbox.core.v2.check
Class DbxUserCheckRequests
java.lang.Object
com.dropbox.core.v2.check.DbxUserCheckRequests
Routes in namespace "check".
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionuser()This endpoint performs User Authentication, validating the supplied access token, and returns the supplied string, to allow you to test your code and connection to the Dropbox API.This endpoint performs User Authentication, validating the supplied access token, and returns the supplied string, to allow you to test your code and connection to the Dropbox API.
-
Constructor Details
-
DbxUserCheckRequests
-
-
Method Details
-
user
This endpoint performs User Authentication, validating the supplied access token, and returns the supplied string, to allow you to test your code and connection to the Dropbox API. It has no other effect. If you receive an HTTP 200 response with the supplied query, it indicates at least part of the Dropbox API infrastructure is working and that the access token is valid.The
queryrequest parameter will default to""(seeuser(String)).- Returns:
- EchoResult contains the result returned from the Dropbox servers.
- Throws:
EchoErrorExceptionDbxException
-
user
This endpoint performs User Authentication, validating the supplied access token, and returns the supplied string, to allow you to test your code and connection to the Dropbox API. It has no other effect. If you receive an HTTP 200 response with the supplied query, it indicates at least part of the Dropbox API infrastructure is working and that the access token is valid.- Parameters:
query- The string that you'd like to be echoed back to you. Must have length of at most 500 and not benull.- Returns:
- EchoResult contains the result returned from the Dropbox servers.
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.EchoErrorExceptionDbxException
-