-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat]: add methods for app hook deliveries
- Loading branch information
Showing
5 changed files
with
541 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 93 additions & 0 deletions
93
spec/cassettes/Octokit_Client_Apps/_deliver_app_hook/schedules_a_webhook_for_redelivery.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
{ | ||
"http_interactions": [ | ||
{ | ||
"request": { | ||
"method": "post", | ||
"uri": "https://api.github.com/app/hook/deliveries/55148726666/attempts", | ||
"body": { | ||
"encoding": "UTF-8", | ||
"base64_string": "e30=\n" | ||
}, | ||
"headers": { | ||
"Accept": [ | ||
"application/vnd.github.v3+json" | ||
], | ||
"User-Agent": [ | ||
"Octokit Ruby Gem 7.1.0" | ||
], | ||
"Content-Type": [ | ||
"application/json" | ||
], | ||
"Authorization": [ | ||
"Bearer <JWT_BEARER_TOKEN>" | ||
], | ||
"Accept-Encoding": [ | ||
"gzip;q=1.0,deflate;q=0.6,identity;q=0.3" | ||
] | ||
} | ||
}, | ||
"response": { | ||
"status": { | ||
"code": 202, | ||
"message": "Accepted" | ||
}, | ||
"headers": { | ||
"Server": [ | ||
"GitHub.com" | ||
], | ||
"Date": [ | ||
"Sat, 09 Sep 2023 18:40:05 GMT" | ||
], | ||
"Content-Type": [ | ||
"application/json; charset=utf-8" | ||
], | ||
"Content-Length": [ | ||
"2" | ||
], | ||
"X-Github-Media-Type": [ | ||
"github.v3; format=json" | ||
], | ||
"X-Github-Api-Version-Selected": [ | ||
"2022-11-28" | ||
], | ||
"Access-Control-Expose-Headers": [ | ||
"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset" | ||
], | ||
"Access-Control-Allow-Origin": [ | ||
"*" | ||
], | ||
"Strict-Transport-Security": [ | ||
"max-age=31536000; includeSubdomains; preload" | ||
], | ||
"X-Frame-Options": [ | ||
"deny" | ||
], | ||
"X-Content-Type-Options": [ | ||
"nosniff" | ||
], | ||
"X-Xss-Protection": [ | ||
"0" | ||
], | ||
"Referrer-Policy": [ | ||
"origin-when-cross-origin, strict-origin-when-cross-origin" | ||
], | ||
"Content-Security-Policy": [ | ||
"default-src 'none'" | ||
], | ||
"Vary": [ | ||
"Accept-Encoding, Accept, X-Requested-With" | ||
], | ||
"X-Github-Request-Id": [ | ||
"E90B:7D5B:A273CE:14E6D87:64FCBC05" | ||
] | ||
}, | ||
"body": { | ||
"encoding": "UTF-8", | ||
"base64_string": "e30=\n" | ||
} | ||
}, | ||
"recorded_at": "Sat, 09 Sep 2023 18:40:05 GMT" | ||
} | ||
], | ||
"recorded_with": "VCR 6.2.0" | ||
} |
Oops, something went wrong.