-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swagger Documentation is incorrect #3439
Comments
Thanks for reporting, @cervella! Would you be interested in putting in a pull request? |
@cervella I apologize, it looks like there are filings with report type 10P: https://api.open.fec.gov/v1/filings/?sort_null_only=false&report_type=10P&sort=-receipt_date&page=1&api_key=DEMO_KEY&per_page=100&sort_hide_null=false. It looks like historical data - I will investigate these report types and make sure the list is correct. |
Thanks for getting back to me @lbeaufort! I just ran reports using this API (which is an amazing addition to my life) and noticed none of the current reports were being pulled with 10P, but the ones I expected were in 12p, as referenced here:https://www.fec.gov/campaign-finance-data/report-type-code-descriptions/ |
Yes. I was digging into this. I know the "10" series were an actual thing at some point but I don't remember the details. I'll find out and maybe we can update the swagger ui descriptions with the context.
Jeff Chumley
Electronic Filing, Web and Disclosure Branch Manager
Federal Election Commission
…________________________________
From: Laura Beaufort <[email protected]>
Sent: Monday, October 15, 2018 1:59 PM
To: fecgov/openFEC
Cc: Subscribed
Subject: Re: [fecgov/openFEC] Swagger Documentation is incorrect (#3439)
@cervella<https://github.com/cervella> I apologize, it looks like there are filings with report type 10P: https://api.open.fec.gov/v1/filings/?sort_null_only=false&report_type=10P&sort=-receipt_date&page=1&api_key=DEMO_KEY&per_page=100&sort_hide_null=false.
It looks like historical data - I will investigate these report types and make sure the list is correct.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#3439 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AMCA7zdKbG_dIoR3AcmcYfBPHtF5WHrQks5ulM0BgaJpZM4Xc0vP>.
|
Small issue, but Pre-Primary Reports are coded in the swagger page here (https://api.open.fec.gov/swagger/) as 10P, when they should be 12P
The text was updated successfully, but these errors were encountered: