Test current user's Google Earth Engine credentials.
Authentication: JWT token required Authorization: Any authenticated user
Prerequisites:
- User must have GEE credentials configured (OAuth or service account)
Response Schema (Success):
{
"message": "GEE credentials are valid and working"
}
What This Tests:
- Initializes Google Earth Engine with user's credentials
- Verifies credentials are not expired
- Confirms GEE API access is working
- Validates credential format and permissions
Typical Workflow:
- Check if credentials exist using GET /user/me/gee-credentials
- Test credentials validity using this endpoint
- If credentials are valid, proceed with GEE analysis
- If credentials are invalid/expired, refresh or update credentials
Error Responses:
- 400 Bad Request: GEE credentials not configured or invalid/expired
- 401 Unauthorized: JWT token required or invalid
- 404 Not Found: User not found
- 500 Internal Server Error: Failed to test credentials
post/api/v1/user/me/gee-credentials/test
Request body
object required
Response
Success
object required
Changes
No recorded changes to this endpoint across all 1 revision of this API.