GetRepository
curl --request GET \
--url https://api.gitlocalize.com/v1/repositories/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gitlocalize.com/v1/repositories/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.gitlocalize.com/v1/repositories/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": 123,
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"private": true
}Repositories
Get Repository
Fetch a single repository by its id.
GET
/
v1
/
repositories
/
{id}
GetRepository
curl --request GET \
--url https://api.gitlocalize.com/v1/repositories/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gitlocalize.com/v1/repositories/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.gitlocalize.com/v1/repositories/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": 123,
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"private": true
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

