action motaword_get_stats { label: "View your account statistics" description: "View your client and vendor statistics." provider: motaword method: GET path: "/stats" encoding: json output: { type: "object" properties: { client: { type: "object" properties: { document_count: { type: "integer" format: "int64" } nps: { type: "number" format: "float" } started_project_count: { type: "integer" format: "int64" } total_discounted: { type: "object" properties: { amount: { type: "number" format: "float" } currency: { type: "string" } } } total_project_count: { type: "integer" format: "int64" } total_spending: { type: "number" format: "float" } translator_count: { type: "integer" format: "int64" } } } vendor: { type: "object" properties: { earnings: { type: "object" properties: { total: { type: "number" format: "float" description: "total amount of USD that this user has earned in the platform so far." } } } projects: { type: "object" properties: { invited: { type: "integer" format: "int64" description: "total number of projects that this user was invited to. TODO this key is to replace \"total\" key due to naming ambiguity." } total: { type: "integer" format: "int64" description: "total number of projects that this user was invited to." } worked: { type: "integer" format: "int64" description: "total number of projects that this user actually worked on." } } } words: { type: "object" properties: { approved: { type: "integer" format: "int64" description: "total number of words that this user has approved so far." } translated: { type: "integer" format: "int64" description: "total number of words that this user has translated so far." } } } } } } } }