public_stats
Creates, updates, deletes, gets or lists a public_stats resource.
Overview​
| Name | public_stats |
| Type | Resource |
| Id | railway.platform.public_stats |
Fields​
The following fields are returned by SELECT queries:
- get
One PublicStats row.
| Name | Datatype | Description |
|---|---|---|
total_deployments_last_month | integer | |
total_logs_last_month | string | |
total_projects | integer | |
total_requests_last_month | string | |
total_services | integer | |
total_users | integer |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | Get public Railway stats. Backed by the Railway GraphQL query publicStats. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|
SELECT examples​
- get
Get public Railway stats. Backed by the Railway GraphQL query publicStats.
SELECT
total_deployments_last_month,
total_logs_last_month,
total_projects,
total_requests_last_month,
total_services,
total_users
FROM railway.platform.public_stats
;