Skip to content
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

Open
cervella opened this issue Oct 15, 2018 · 4 comments
Open

Swagger Documentation is incorrect #3439

cervella opened this issue Oct 15, 2018 · 4 comments

Comments

@cervella
Copy link

cervella commented Oct 15, 2018

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
screenshot 2018-10-15 13 35 45

@lbeaufort
Copy link
Member

Thanks for reporting, @cervella! Would you be interested in putting in a pull request?

@lbeaufort
Copy link
Member

@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.

@cervella
Copy link
Author

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/

@jwchumley
Copy link
Contributor

jwchumley commented Oct 15, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ❄️ Icebox
Development

No branches or pull requests

4 participants