cod_endpoints/
api.rs

1pub const CODEBERG_API_BASE: &str = "https://codeberg.org/api/v1/";
2
3pub const AUTHENTIFICATION_VERIFICATION: &str = "user";
4
5pub const USER_INFO: &str = "user";
6pub const USER_FOLLOWERS: &str = "user/followers";
7pub const USER_FOLLOWING: &str = "user/following";
8pub const USER_REPOS: &str = "user/repos";
9pub const USER_SEARCH: &str = "users/search";
10pub const USERS_BASE: &str = "users";
11
12pub const REPO_SEARCH: &str = "repos/search";
13
14pub const REPO_OWNER_REPOS: &str = "repos";
15
16pub const REPO_INFOS: &str = "";
17pub const REPO_ASSIGNEES: &str = "assignees";
18pub const REPO_ISSUES: &str = "issues";
19pub const REPO_ISSUES_COMMENTS: &str = "comments";
20pub const REPO_PULLS: &str = "pulls";
21pub const REPO_LABELS: &str = "labels";
22pub const REPO_MILESTONES: &str = "milestones";
23pub const REPO_FORK: &str = "forks";
24pub const REPO_BRANCHES: &str = "branches";
25
26pub const ORG_BASE: &str = "orgs";
27
28pub const NOTIFICATIONS: &str = "notifications";
29pub const NOTIFICATIONS_INFO: &str = "notifications/thread";