read_forge_pull_request_text
Read a pull request's title and description from its forge.
read-onlyidempotentCLI onlyForge
Refuses when the forge will not let the credential change them.
Calling it#
curl -X POST http://127.0.0.1:8787/komrad.forge.v1.ForgeService/ReadForgePullRequestText \
-H 'Content-Type: application/json' \
-d '{
"url": "<url>"
}'komrad rpc read-forge-pull-request-text \
--url '<string>'Request#
ReadForgePullRequestTextRequest#
| Field | Type | Description |
|---|---|---|
url | string* at most 2048 characters | The pull request to read, by web address. The address's host picks the forge connection. |
Response#
PullRequestText#
PullRequestText is a pull request's title and description.