-
Notifications
You must be signed in to change notification settings - Fork 131
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
Add Job "POST User Exports" endpoint #241
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change looks good. Do we have work captured to add support for the other missing Jobs endpoints, such as getting a job's error details and creating an export/import users job?
Yes, my intention was to add them to this PR. Let me mark it as in progress. |
08e10ab
to
8ac1bf2
Compare
@JsonProperty("export_as") | ||
private String exportAs; | ||
|
||
public UsersExportField(String name) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keeping this one handy as seems to be the default scenario. If the alternative constructor is not required, I can replace it with a setter for export_as
@@ -117,7 +119,7 @@ public void jsonResponse(String path, int statusCode) throws IOException { | |||
server.enqueue(response); | |||
} | |||
|
|||
public void rateLimitReachedResponse(long limit, long remaining, long reset) throws IOException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
linter pointed out exceptions not thrown, and auto-closing of buffer (with jdk 8 try/catch)
I'm working on adding the import users endpoint to this PR. |
I'm going to keep this one for the User Exports endpoint and add the remaining endpoints in separate PRs. |
2fd3297
to
f735f89
Compare
Changes
Adds the following endpoint:
References
Will close #95
Testing
Checklist