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

2254 api v3 misc #2276

Merged
merged 11 commits into from
Jul 1, 2020
Merged

2254 api v3 misc #2276

merged 11 commits into from
Jul 1, 2020

Conversation

adrian-lara
Copy link
Contributor

@adrian-lara adrian-lara commented Jun 30, 2020

What's this PR do?

Make changes per tagged issue.

How should this be manually tested?

Test endpoints on Swagger page

What are the relevant tickets?

#2254

@coveralls
Copy link

coveralls commented Jun 30, 2020

Coverage Status

Coverage decreased (-1.7%) to 68.628% when pulling 86f2fd7 on 2254_api_v3_misc into 6165334 on develop.

Copy link
Contributor

@macintoshpie macintoshpie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Swagger worked as expected 👍 Everything looks good, just a few comments

seed/views/v3/progress.py Show resolved Hide resolved
'export_type': 'string',
'profile_id': 'integer'
},
description="Valid export_types: 'csv', 'geojson', 'xlsx' (defaulting to 'csv')"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be nice to add docs on the specific properties of the request body

if '=' not in cookie_header:
raise PMExcept('Malformed Cookie key in response headers; aborting.')
cookie = cookie_header.split('=')[1]
_log.debug('Logged in and received cookie: ' + cookie)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discuss

Copy link
Contributor

@macintoshpie macintoshpie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome ⛱️

@adrian-lara adrian-lara merged commit 662101e into develop Jul 1, 2020
@adrian-lara adrian-lara deleted the 2254_api_v3_misc branch July 1, 2020 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants