1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
pub const CODEBERG_API_BASE: &str = "https://codeberg.org/api/v1/";

pub const AUTHENTIFICATION_VERIFICATION: &str = "user";

pub const USER_INFO: &str = "user";
pub const USER_FOLLOWERS: &str = "user/followers";
pub const USER_FOLLOWING: &str = "user/following";
pub const USER_REPOS: &str = "user/repos";
pub const USER_SEARCH: &str = "users/search";
pub const USERS_BASE: &str = "users";

pub const REPO_SEARCH: &str = "repos/search";

pub const REPO_OWNER_REPOS: &str = "repos";

pub const REPO_INFOS: &str = "";
pub const REPO_ASSIGNEES: &str = "assignees";
pub const REPO_ISSUES: &str = "issues";
pub const REPO_ISSUES_COMMENTS: &str = "comments";
pub const REPO_PULLS: &str = "pulls";
pub const REPO_LABELS: &str = "labels";
pub const REPO_MILESTONES: &str = "milestones";
pub const REPO_FORK: &str = "forks";
pub const REPO_BRANCHES: &str = "branches";

pub const ORG_BASE: &str = "orgs";

pub const NOTIFICATIONS: &str = "notifications";
pub const NOTIFICATIONS_INFO: &str = "notifications/thread";