diff --git a/wizard-work/ledger/README.md b/wizard-work/ledger/README.md index 05555dc..81ff173 100644 --- a/wizard-work/ledger/README.md +++ b/wizard-work/ledger/README.md @@ -1,34 +1,28 @@ -# ledger: GitHub top-10 Python repositories by stars +# ledger: Extract artifact — Strike API sitemap endpoints -Artifact: top 10 Python repositories on GitHub, ranked by star count. +Artifact: the 71 documented Strike API documentation URLs extracted from the +site map into machine-readable tables. ## Provenance -- Source: GitHub Search API (REST), GET /search/repositories -- Query: `language:python&sort=stars&per_page=10` (HTTP 200) -- Retrieved: 2026-10-22 (UTC). Raw JSON held in `repos.json`. -- Full responses live in the parallel outputs directory: - `/root/.hermes/wizard-outputs/ledger/` +- Source file: /root/docs_0.txt (jina.ai render of the Strike docs sitemap). +- Method: source of truth = markdown link targets "[text](https://...)" only. + A bare-URL fallback was rejected because it picked up the jina redirect line + and a trailing ")" that inflated each endpoint count (the "/api" group showed + 101 instead of the true 51). +- Each URL reduced to its path; the first path segment is the category. -## Files -- `repos.csv` — machine-readable table (rank, full_name, language, stars, - description, html_url). Comma-separated; description is newline-free. -- `repos.md` — human-readable Markdown table with links. -- `repos.json` — the raw API payload attributed to this artifact. -- `verify.py` — the verification script. Its exit code is the verdict - (0 = artifact matches a fresh API fetch; 1 = mismatch). +## Artifacts +- api-endpoints.csv — table (category, path, url), 71 rows. +- api_endpoints.json — structured rows + by_category summary. -## Schema (repos.csv) -| column | type | note | -|---|---|---| -| rank | int | 1..10, shutter order | -| full_name | string | "owner/repo" | -| language | string | "Python" for all rows | -| stars | int | stargazers_count at fetch time | -| description | string | stripped of newlines, UTF-8 | -| html_url | string | GitHub repo page URL | +## Evidence / verdict +- verify_extraction.py recomputes the URLs from the source and compares them + against the produced CSV/JSON. Its exit code is the verdict: + 0 = artifact matches a fresh source recompute (all checks passed, verified), + nonzero = mismatch. +- Measured counts from the recomputation: total 71; api=51, root=1, account=2, + api-keys=2, maintenance=1, rate-limits=1, sandbox=1, strike-oauth-connect=1, + walkthrough=7, webhooks=4. All 6 assertion checks returned PASS, VERIFY_EXIT=0. -## Evidence -Every number in this artifact is the live API response for the query above. -No description was edited or invented; values were read verbatim from the -JSON response. Description strings were truncated only for display in -repos.md (each <= 140 chars) and are newline-free in repos.csv. +## Repo copy +- /root/troupe-standup/wizard-work/ledger/ diff --git a/wizard-work/ledger/api-endpoints.csv b/wizard-work/ledger/api-endpoints.csv new file mode 100644 index 0000000..88dd284 --- /dev/null +++ b/wizard-work/ledger/api-endpoints.csv @@ -0,0 +1,72 @@ +category,path,url +api,/api,https://strike.me/api +api,/api/cancel-unpaid-invoice,https://strike.me/api/cancel-unpaid-invoice +api,/api/create-a-payout,https://strike.me/api/create-a-payout +api,/api/create-a-payout-originator,https://strike.me/api/create-a-payout-originator +api,/api/create-a-receive-request,https://strike.me/api/create-a-receive-request +api,/api/create-bank-payment-method,https://strike.me/api/create-bank-payment-method +api,/api/create-currency-exchange-quote,https://strike.me/api/create-currency-exchange-quote +api,/api/create-lightning-payment-quote,https://strike.me/api/create-lightning-payment-quote +api,/api/create-lnurl-ln-address-payment-quote,https://strike.me/api/create-lnurl-ln-address-payment-quote +api,/api/create-onchain-payment-quote,https://strike.me/api/create-onchain-payment-quote +api,/api/create-subscription,https://strike.me/api/create-subscription +api,/api/delete-a-payout-originator,https://strike.me/api/delete-a-payout-originator +api,/api/delete-bank-payment-method,https://strike.me/api/delete-bank-payment-method +api,/api/delete-subscription,https://strike.me/api/delete-subscription +api,/api/execute-currency-exchange-quote,https://strike.me/api/execute-currency-exchange-quote +api,/api/execute-payment-quote,https://strike.me/api/execute-payment-quote +api,/api/fetch-logged-in-account-limits,https://strike.me/api/fetch-logged-in-account-limits +api,/api/fetch-public-account-profile-info-by-handle,https://strike.me/api/fetch-public-account-profile-info-by-handle +api,/api/fetch-public-account-profile-info-by-id,https://strike.me/api/fetch-public-account-profile-info-by-id +api,/api/find-event-by-id,https://strike.me/api/find-event-by-id +api,/api/find-invoice-by-id,https://strike.me/api/find-invoice-by-id +api,/api/find-payout-by-id,https://strike.me/api/find-payout-by-id +api,/api/find-payout-originator-by-id,https://strike.me/api/find-payout-originator-by-id +api,/api/find-receive-request-by-id,https://strike.me/api/find-receive-request-by-id +api,/api/find-subscription-by-id,https://strike.me/api/find-subscription-by-id +api,/api/get-account-balance-details,https://strike.me/api/get-account-balance-details +api,/api/get-bank-payment-method-by-id,https://strike.me/api/get-bank-payment-method-by-id +api,/api/get-bank-payment-methods,https://strike.me/api/get-bank-payment-methods +api,/api/get-currency-exchange-quote,https://strike.me/api/get-currency-exchange-quote +api,/api/get-currency-exchange-rate-tickers,https://strike.me/api/get-currency-exchange-rate-tickers +api,/api/get-deposit,https://strike.me/api/get-deposit +api,/api/get-deposit-fee-estimate,https://strike.me/api/get-deposit-fee-estimate +api,/api/get-deposits,https://strike.me/api/get-deposits +api,/api/get-events,https://strike.me/api/get-events +api,/api/get-invoices,https://strike.me/api/get-invoices +api,/api/get-lnurl-details,https://strike.me/api/get-lnurl-details +api,/api/get-onchain-tiers,https://strike.me/api/get-onchain-tiers +api,/api/get-payment-by-id,https://strike.me/api/get-payment-by-id +api,/api/get-payout-originators,https://strike.me/api/get-payout-originators +api,/api/get-payouts,https://strike.me/api/get-payouts +api,/api/get-receive-requests,https://strike.me/api/get-receive-requests +api,/api/get-receives-for-all-receive-requests,https://strike.me/api/get-receives-for-all-receive-requests +api,/api/get-receives-for-receive-request,https://strike.me/api/get-receives-for-receive-request +api,/api/get-subscriptions,https://strike.me/api/get-subscriptions +api,/api/initiate-a-payout,https://strike.me/api/initiate-a-payout +api,/api/initiate-deposit,https://strike.me/api/initiate-deposit +api,/api/introduction,https://strike.me/api/introduction +api,/api/issue-invoice,https://strike.me/api/issue-invoice +api,/api/issue-invoice-for-receiver,https://strike.me/api/issue-invoice-for-receiver +api,/api/issue-quote-for-invoice,https://strike.me/api/issue-quote-for-invoice +api,/api/update-subscription,https://strike.me/api/update-subscription +,/,https://strike.me/ +account,/account/dashboard,https://strike.me/account/dashboard +account,/account/overview,https://strike.me/account/overview +api-keys,/api-keys/authorization,https://strike.me/api-keys/authorization +api-keys,/api-keys/overview,https://strike.me/api-keys/overview +maintenance,/maintenance/,https://strike.me/maintenance/ +rate-limits,/rate-limits/,https://strike.me/rate-limits/ +sandbox,/sandbox/,https://strike.me/sandbox/ +strike-oauth-connect,/strike-oauth-connect/,https://strike.me/strike-oauth-connect/ +walkthrough,/walkthrough/directing-payments-third-party,https://strike.me/walkthrough/directing-payments-third-party +walkthrough,/walkthrough/example-apps,https://strike.me/walkthrough/example-apps +walkthrough,/walkthrough/exchanging-currencies,https://strike.me/walkthrough/exchanging-currencies +walkthrough,/walkthrough/making-payouts,https://strike.me/walkthrough/making-payouts +walkthrough,/walkthrough/receiving-payments,https://strike.me/walkthrough/receiving-payments +walkthrough,/walkthrough/sending-payments,https://strike.me/walkthrough/sending-payments +walkthrough,/walkthrough/walkthroughs-overview,https://strike.me/walkthrough/walkthroughs-overview +webhooks,/webhooks/failure-recovery,https://strike.me/webhooks/failure-recovery +webhooks,/webhooks/overview,https://strike.me/webhooks/overview +webhooks,/webhooks/setting-up-webhooks,https://strike.me/webhooks/setting-up-webhooks +webhooks,/webhooks/signature-verification,https://strike.me/webhooks/signature-verification diff --git a/wizard-work/ledger/api_endpoints.json b/wizard-work/ledger/api_endpoints.json new file mode 100644 index 0000000..42ce8a2 --- /dev/null +++ b/wizard-work/ledger/api_endpoints.json @@ -0,0 +1,373 @@ +{ + "source": "docs_0.txt (sitemap render)", + "total": 71, + "by_category": { + "api": 51, + "": 1, + "account": 2, + "api-keys": 2, + "maintenance": 1, + "rate-limits": 1, + "sandbox": 1, + "strike-oauth-connect": 1, + "walkthrough": 7, + "webhooks": 4 + }, + "rows": [ + { + "url": "https://strike.me/api", + "path": "/api", + "category": "api" + }, + { + "url": "https://strike.me/api/cancel-unpaid-invoice", + "path": "/api/cancel-unpaid-invoice", + "category": "api" + }, + { + "url": "https://strike.me/api/create-a-payout", + "path": "/api/create-a-payout", + "category": "api" + }, + { + "url": "https://strike.me/api/create-a-payout-originator", + "path": "/api/create-a-payout-originator", + "category": "api" + }, + { + "url": "https://strike.me/api/create-a-receive-request", + "path": "/api/create-a-receive-request", + "category": "api" + }, + { + "url": "https://strike.me/api/create-bank-payment-method", + "path": "/api/create-bank-payment-method", + "category": "api" + }, + { + "url": "https://strike.me/api/create-currency-exchange-quote", + "path": "/api/create-currency-exchange-quote", + "category": "api" + }, + { + "url": "https://strike.me/api/create-lightning-payment-quote", + "path": "/api/create-lightning-payment-quote", + "category": "api" + }, + { + "url": "https://strike.me/api/create-lnurl-ln-address-payment-quote", + "path": "/api/create-lnurl-ln-address-payment-quote", + "category": "api" + }, + { + "url": "https://strike.me/api/create-onchain-payment-quote", + "path": "/api/create-onchain-payment-quote", + "category": "api" + }, + { + "url": "https://strike.me/api/create-subscription", + "path": "/api/create-subscription", + "category": "api" + }, + { + "url": "https://strike.me/api/delete-a-payout-originator", + "path": "/api/delete-a-payout-originator", + "category": "api" + }, + { + "url": "https://strike.me/api/delete-bank-payment-method", + "path": "/api/delete-bank-payment-method", + "category": "api" + }, + { + "url": "https://strike.me/api/delete-subscription", + "path": "/api/delete-subscription", + "category": "api" + }, + { + "url": "https://strike.me/api/execute-currency-exchange-quote", + "path": "/api/execute-currency-exchange-quote", + "category": "api" + }, + { + "url": "https://strike.me/api/execute-payment-quote", + "path": "/api/execute-payment-quote", + "category": "api" + }, + { + "url": "https://strike.me/api/fetch-logged-in-account-limits", + "path": "/api/fetch-logged-in-account-limits", + "category": "api" + }, + { + "url": "https://strike.me/api/fetch-public-account-profile-info-by-handle", + "path": "/api/fetch-public-account-profile-info-by-handle", + "category": "api" + }, + { + "url": "https://strike.me/api/fetch-public-account-profile-info-by-id", + "path": "/api/fetch-public-account-profile-info-by-id", + "category": "api" + }, + { + "url": "https://strike.me/api/find-event-by-id", + "path": "/api/find-event-by-id", + "category": "api" + }, + { + "url": "https://strike.me/api/find-invoice-by-id", + "path": "/api/find-invoice-by-id", + "category": "api" + }, + { + "url": "https://strike.me/api/find-payout-by-id", + "path": "/api/find-payout-by-id", + "category": "api" + }, + { + "url": "https://strike.me/api/find-payout-originator-by-id", + "path": "/api/find-payout-originator-by-id", + "category": "api" + }, + { + "url": "https://strike.me/api/find-receive-request-by-id", + "path": "/api/find-receive-request-by-id", + "category": "api" + }, + { + "url": "https://strike.me/api/find-subscription-by-id", + "path": "/api/find-subscription-by-id", + "category": "api" + }, + { + "url": "https://strike.me/api/get-account-balance-details", + "path": "/api/get-account-balance-details", + "category": "api" + }, + { + "url": "https://strike.me/api/get-bank-payment-method-by-id", + "path": "/api/get-bank-payment-method-by-id", + "category": "api" + }, + { + "url": "https://strike.me/api/get-bank-payment-methods", + "path": "/api/get-bank-payment-methods", + "category": "api" + }, + { + "url": "https://strike.me/api/get-currency-exchange-quote", + "path": "/api/get-currency-exchange-quote", + "category": "api" + }, + { + "url": "https://strike.me/api/get-currency-exchange-rate-tickers", + "path": "/api/get-currency-exchange-rate-tickers", + "category": "api" + }, + { + "url": "https://strike.me/api/get-deposit", + "path": "/api/get-deposit", + "category": "api" + }, + { + "url": "https://strike.me/api/get-deposit-fee-estimate", + "path": "/api/get-deposit-fee-estimate", + "category": "api" + }, + { + "url": "https://strike.me/api/get-deposits", + "path": "/api/get-deposits", + "category": "api" + }, + { + "url": "https://strike.me/api/get-events", + "path": "/api/get-events", + "category": "api" + }, + { + "url": "https://strike.me/api/get-invoices", + "path": "/api/get-invoices", + "category": "api" + }, + { + "url": "https://strike.me/api/get-lnurl-details", + "path": "/api/get-lnurl-details", + "category": "api" + }, + { + "url": "https://strike.me/api/get-onchain-tiers", + "path": "/api/get-onchain-tiers", + "category": "api" + }, + { + "url": "https://strike.me/api/get-payment-by-id", + "path": "/api/get-payment-by-id", + "category": "api" + }, + { + "url": "https://strike.me/api/get-payout-originators", + "path": "/api/get-payout-originators", + "category": "api" + }, + { + "url": "https://strike.me/api/get-payouts", + "path": "/api/get-payouts", + "category": "api" + }, + { + "url": "https://strike.me/api/get-receive-requests", + "path": "/api/get-receive-requests", + "category": "api" + }, + { + "url": "https://strike.me/api/get-receives-for-all-receive-requests", + "path": "/api/get-receives-for-all-receive-requests", + "category": "api" + }, + { + "url": "https://strike.me/api/get-receives-for-receive-request", + "path": "/api/get-receives-for-receive-request", + "category": "api" + }, + { + "url": "https://strike.me/api/get-subscriptions", + "path": "/api/get-subscriptions", + "category": "api" + }, + { + "url": "https://strike.me/api/initiate-a-payout", + "path": "/api/initiate-a-payout", + "category": "api" + }, + { + "url": "https://strike.me/api/initiate-deposit", + "path": "/api/initiate-deposit", + "category": "api" + }, + { + "url": "https://strike.me/api/introduction", + "path": "/api/introduction", + "category": "api" + }, + { + "url": "https://strike.me/api/issue-invoice", + "path": "/api/issue-invoice", + "category": "api" + }, + { + "url": "https://strike.me/api/issue-invoice-for-receiver", + "path": "/api/issue-invoice-for-receiver", + "category": "api" + }, + { + "url": "https://strike.me/api/issue-quote-for-invoice", + "path": "/api/issue-quote-for-invoice", + "category": "api" + }, + { + "url": "https://strike.me/api/update-subscription", + "path": "/api/update-subscription", + "category": "api" + }, + { + "url": "https://strike.me/", + "path": "/", + "category": "" + }, + { + "url": "https://strike.me/account/dashboard", + "path": "/account/dashboard", + "category": "account" + }, + { + "url": "https://strike.me/account/overview", + "path": "/account/overview", + "category": "account" + }, + { + "url": "https://strike.me/api-keys/authorization", + "path": "/api-keys/authorization", + "category": "api-keys" + }, + { + "url": "https://strike.me/api-keys/overview", + "path": "/api-keys/overview", + "category": "api-keys" + }, + { + "url": "https://strike.me/maintenance/", + "path": "/maintenance/", + "category": "maintenance" + }, + { + "url": "https://strike.me/rate-limits/", + "path": "/rate-limits/", + "category": "rate-limits" + }, + { + "url": "https://strike.me/sandbox/", + "path": "/sandbox/", + "category": "sandbox" + }, + { + "url": "https://strike.me/strike-oauth-connect/", + "path": "/strike-oauth-connect/", + "category": "strike-oauth-connect" + }, + { + "url": "https://strike.me/walkthrough/directing-payments-third-party", + "path": "/walkthrough/directing-payments-third-party", + "category": "walkthrough" + }, + { + "url": "https://strike.me/walkthrough/example-apps", + "path": "/walkthrough/example-apps", + "category": "walkthrough" + }, + { + "url": "https://strike.me/walkthrough/exchanging-currencies", + "path": "/walkthrough/exchanging-currencies", + "category": "walkthrough" + }, + { + "url": "https://strike.me/walkthrough/making-payouts", + "path": "/walkthrough/making-payouts", + "category": "walkthrough" + }, + { + "url": "https://strike.me/walkthrough/receiving-payments", + "path": "/walkthrough/receiving-payments", + "category": "walkthrough" + }, + { + "url": "https://strike.me/walkthrough/sending-payments", + "path": "/walkthrough/sending-payments", + "category": "walkthrough" + }, + { + "url": "https://strike.me/walkthrough/walkthroughs-overview", + "path": "/walkthrough/walkthroughs-overview", + "category": "walkthrough" + }, + { + "url": "https://strike.me/webhooks/failure-recovery", + "path": "/webhooks/failure-recovery", + "category": "webhooks" + }, + { + "url": "https://strike.me/webhooks/overview", + "path": "/webhooks/overview", + "category": "webhooks" + }, + { + "url": "https://strike.me/webhooks/setting-up-webhooks", + "path": "/webhooks/setting-up-webhooks", + "category": "webhooks" + }, + { + "url": "https://strike.me/webhooks/signature-verification", + "path": "/webhooks/signature-verification", + "category": "webhooks" + } + ] +} \ No newline at end of file