/usr/lib/python2.7/dist-packages/txclib/urls.py is in transifex-client 0.10-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # These are the Transifex API urls
API_URLS = {
'get_resources': '%(hostname)s/api/2/project/%(project)s/resources/',
'project_details': '%(hostname)s/api/2/project/%(project)s/?details',
'resource_details': '%(hostname)s/api/2/project/%(project)s/resource/%(resource)s/',
'release_details': '%(hostname)s/api/2/project/%(project)s/release/%(release)s/',
'pull_file': '%(hostname)s/api/2/project/%(project)s/resource/%(resource)s/translation/%(language)s/?file',
'pull_pseudo_file': '%(hostname)s/api/2/project/%(project)s/resource/%(resource)s/pseudo/?pseudo_type=MIXED',
'pull_reviewed_file': '%(hostname)s/api/2/project/%(project)s/resource/%(resource)s/translation/%(language)s/?file&mode=reviewed',
'pull_translator_file': '%(hostname)s/api/2/project/%(project)s/resource/%(resource)s/translation/%(language)s/?file&mode=translator',
'pull_developer_file': '%(hostname)s/api/2/project/%(project)s/resource/%(resource)s/translation/%(language)s/?file&mode=default',
'resource_stats': '%(hostname)s/api/2/project/%(project)s/resource/%(resource)s/stats/',
'create_resource': '%(hostname)s/api/2/project/%(project)s/resources/',
'push_source': '%(hostname)s/api/2/project/%(project)s/resource/%(resource)s/content/',
'push_translation': '%(hostname)s/api/2/project/%(project)s/resource/%(resource)s/translation/%(language)s/',
'delete_translation': '%(hostname)s/api/2/project/%(project)s/resource/%(resource)s/translation/%(language)s/',
'formats': '%(hostname)s/api/2/formats/',
'delete_resource': '%(hostname)s/api/2/project/%(project)s/resource/%(resource)s/',
}
|