Skip to content

Commit f740b8d

Browse files
Merge pull request #73 from goldlabelapps/staging
Add schema hint to /resend and reorder endpoints
2 parents a8d6083 + 7366438 commit f740b8d

8 files changed

Lines changed: 8851 additions & 7 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Python°
22

3+
![Python Logo](app/static/python.png)
4+
35
> Production-ready, open-source FastAPI application with PostgreSQL and blazing-fast full-text search.
46
57
#### Project Overview

app/api/resend/resend.py

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,31 @@ def root() -> dict:
1717
if not RESEND_API_KEY:
1818
meta = make_meta("error", "RESEND_API_KEY is missing from environment. Please set it in your .env file.")
1919
return {"meta": meta}
20-
meta = make_meta("success", "Resend endpoint")
21-
return {"meta": meta}
20+
meta = make_meta("success", "GET /resend endpoint")
21+
return {
22+
"meta": meta,
23+
"data": {
24+
"hint": "Use POST /resend to send an email via Resend API.",
25+
"type": {
26+
"to": {
27+
"type": "string",
28+
"format": "email",
29+
"required": True,
30+
"description": "Recipient email address."
31+
},
32+
"subject": {
33+
"type": "string",
34+
"required": True,
35+
"description": "Subject of the email."
36+
},
37+
"html": {
38+
"type": "string",
39+
"required": True,
40+
"description": "HTML content of the email."
41+
}
42+
}
43+
}
44+
}
2245

2346

2447
# POST endpoint to send email

app/api/root.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ def root() -> dict:
2020
"time": epoch,
2121
}
2222
endpoints = [
23-
{"name": "docs", "url": f"{base_url}/docs"},
24-
{"name": "resend", "url": f"{base_url}/resend"},
25-
{"name": "health", "url": f"{base_url}/health"},
26-
{"name": "llm", "url": f"{base_url}/llm"},
2723
{
2824
"name": "prospects",
2925
"endpoints": [
3026
{"name": "list", "url": f"{base_url}/prospects"},
3127
{"name": "flagged", "url": f"{base_url}/prospects/flagged"},
3228
]
33-
}
29+
},
30+
{"name": "docs", "url": f"{base_url}/docs"},
31+
{"name": "resend", "url": f"{base_url}/resend"},
32+
{"name": "health", "url": f"{base_url}/health"},
33+
{"name": "llm", "url": f"{base_url}/llm"},
3434
]
3535
return {"meta": meta, "data": endpoints}

app/static/csv/apollo-contacts-export (3).csv

Lines changed: 71 additions & 0 deletions
Large diffs are not rendered by default.

app/static/csv/apollo-contacts-export (4).csv

Lines changed: 3259 additions & 0 deletions
Large diffs are not rendered by default.

app/static/csv/big.csv

Lines changed: 1237 additions & 0 deletions
Large diffs are not rendered by default.

app/static/csv/magento_products.csv

Lines changed: 4247 additions & 0 deletions
Large diffs are not rendered by default.

app/static/csv/seed.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
First Name,Last Name,Title,Company Name,Email,Email Status,Primary Email Source,Primary Email Verification Source,Email Confidence,Primary Email Catch-all Status,Primary Email Last Verified At,Seniority,Sub Departments,Work Direct Phone,Home Phone,Mobile Phone,Corporate Phone,Other Phone,Do Not Call,Lists,Person Linkedin Url,Country,Subsidiary of,Subsidiary of (Organization ID),Secondary Email,Secondary Email Source,Secondary Email Status,Secondary Email Verification Source,Tertiary Email,Tertiary Email Source,Tertiary Email Status,Tertiary Email Verification Source,Primary Intent Topic,Primary Intent Score,Secondary Intent Topic,Secondary Intent Score,Qualify Contact,Cleaned
2+
Laurence,Brophy,Finance Director,Abraham Moon & Sons,laurence.brophy@moons.co.uk,Verified,Apollo,Apollo,,,2026-03-18T22:36:33+00:00,Director,Finance,,,,'+44 194 387 3181,,FALSE,Magento 2,http://www.linkedin.com/in/laurence-brophy-248752145,United Kingdom,,,,,,,,,,,,,,,,
3+
Julie,Lavington,CEO and Founder,Sosandar,julie.lavington@sosandar.com,Verified,Apollo,Apollo,,,2026-03-11T10:33:18+00:00,Founder,"Executive, Founder",,,,'+44 333 305 2866,,FALSE,Magento 2,http://www.linkedin.com/in/julie-lavington-1181744,United Kingdom,,,,,,,,,,,,,,,,
4+
Andrew,Shand,Chief Executive Officer,Ruroc,andrew.shand@ruroc.com,Verified,Apollo,Apollo,,,2026-03-16T21:14:58+00:00,C suite,Executive,,,,,,FALSE,Magento 2,http://www.linkedin.com/in/andrew-shand-74068513,United Kingdom,,,,,,,,,,,,,,,,
5+
Nick,Anstee,Head of Server Support / Programmer,Stock in the Channel,nick.anstee@stockinthechannel.com,Verified,Apollo,Apollo,,Not Catch-all,2026-03-24T09:59:02+00:00,Head,"Software Development, Support / Technical Services, Application Development, Servers",,,,'+44 845 225 2125,,FALSE,Magento 2,http://www.linkedin.com/in/nick-anstee-4b102277,United Kingdom,,,,,,,,,,,,,,,,

0 commit comments

Comments
 (0)