Transtats APIs
# Install the command line client
$ pip install coreapi-cli
coverage
read
Translation coverage of multiple packages for a product release in selected languages.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
coverage_rule required |
# Load the schema document
$ coreapi get https://transtats.fedoraproject.org/api-docs/
# Interact with the API endpoint
$ coreapi action coverage read -p coverage_rule=...
job
log > list
Fetch details about a YML job ran successfully in Transtats.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
job_id required |
# Load the schema document
$ coreapi get https://transtats.fedoraproject.org/api-docs/
# Interact with the API endpoint
$ coreapi action job log list -p job_id=...
# Load the schema document
$ coreapi get https://transtats.fedoraproject.org/api-docs/
# Interact with the API endpoint
$ coreapi action job run create
package
read
Translation status of a package at various places.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
package_name required |
# Load the schema document
$ coreapi get https://transtats.fedoraproject.org/api-docs/
# Interact with the API endpoint
$ coreapi action package read -p package_name=...
# Load the schema document
$ coreapi get https://transtats.fedoraproject.org/api-docs/
# Interact with the API endpoint
$ coreapi action package create create
exist > list
Determine, if the package exist in Transtats or not.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
package_name required |
# Load the schema document
$ coreapi get https://transtats.fedoraproject.org/api-docs/
# Interact with the API endpoint
$ coreapi action package exist list -p package_name=...
health > list
Get package health
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
package_name required |
# Load the schema document
$ coreapi get https://transtats.fedoraproject.org/api-docs/
# Interact with the API endpoint
$ coreapi action package health list -p package_name=...
ping
# Load the schema document
$ coreapi get https://transtats.fedoraproject.org/api-docs/
# Interact with the API endpoint
$ coreapi action ping list
release
read
Translation status of a product release for linked packages.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
release_stream required |
# Load the schema document
$ coreapi get https://transtats.fedoraproject.org/api-docs/
# Interact with the API endpoint
$ coreapi action release read -p release_stream=...
detail > list
Detailed (language-wise) translation status of a product release.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
release_stream required |
# Load the schema document
$ coreapi get https://transtats.fedoraproject.org/api-docs/
# Interact with the API endpoint
$ coreapi action release detail list -p release_stream=...
locale > read
Translation status of a product release in a particular language.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
release_stream required | |
locale required |
# Load the schema document
$ coreapi get https://transtats.fedoraproject.org/api-docs/
# Interact with the API endpoint
$ coreapi action release locale read -p release_stream=... -p locale=...