-
Notifications
You must be signed in to change notification settings - Fork 1
/
github_issues_events.body.sql
68 lines (45 loc) · 1.16 KB
/
github_issues_events.body.sql
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
create or replace package body github_issues_events
as
function list_issue_events (
git_account varchar2
, repos_name varchar2
, issue_number number
)
return github.call_result
as
begin
github.init_talk('/repos/' || git_account || '/' || repos_name || '/issues/' || issue_number || '/events', 'GET');
github.talk(
github_account => git_account
);
return github.github_response_result;
end list_issue_events;
function list_repos_events (
git_account varchar2
, repos_name varchar2
)
return github.call_result
as
begin
github.init_talk('/repos/' || git_account || '/' || repos_name || '/issues/events', 'GET');
github.talk(
github_account => git_account
);
return github.github_response_result;
end list_repos_events;
function get_event (
git_account varchar2
, repos_name varchar2
, event_id number
)
return github.call_result
as
begin
github.init_talk('/repos/' || git_account || '/' || repos_name || '/issues/events/' || event_id, 'GET');
github.talk(
github_account => git_account
);
return github.github_response_result;
end get_event;
end github_issues_events;
/