Skip to content

Commit

Permalink
Merge pull request #8 from upwork/v1.2.1
Browse files Browse the repository at this point in the history
v1.2.1
  • Loading branch information
mnovozhylov committed Feb 15, 2017
2 parents 40c694a + a104a9c commit aa25114
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Release History

## 1.2.1
* Applications API has moved from v3 to v4

## 1.2.0
* Added Messages API (new)
* Message API (V1) is now fully depricated
Expand Down
Binary file modified doc/java-upwork-javadoc.zip
Binary file not shown.
Binary file modified example-android/app/libs/java-upwork.jar
Binary file not shown.
Binary file modified lib/java-upwork.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>com.Upwork</groupId>
<artifactId>api</artifactId>
<version>1.2.0</version>
<version>1.2.1</version>
<packaging>jar</packaging>
<name>java-upwork</name>
<description>JAVA bindings for Upwork API</description>
Expand Down
6 changes: 3 additions & 3 deletions src/com/Upwork/api/Routers/Hr/Clients/Applications.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
author = "Maksym Novozhylov <mnovozhilov@upwork.com>",
date = "6/4/2014",
currentRevision = 1,
lastModified = "6/4/2014",
lastModified = "2/15/2014",
lastModifiedBy = "Maksym Novozhylov",
reviewers = {"Yiota Tsakiri"}
)
Expand All @@ -50,7 +50,7 @@ public Applications(OAuthClient client) {
* @return object
*/
public JSONObject getList(HashMap<String, String> params) throws JSONException {
return oClient.get("/hr/v3/clients/applications", params);
return oClient.get("/hr/v4/clients/applications", params);
}

/**
Expand All @@ -61,7 +61,7 @@ public JSONObject getList(HashMap<String, String> params) throws JSONException {
* @return object
*/
public JSONObject getSpecific(String reference, HashMap<String, String> params) throws JSONException {
return oClient.get("/hr/v3/clients/applications/" + reference, params);
return oClient.get("/hr/v4/clients/applications/" + reference, params);
}

}
6 changes: 3 additions & 3 deletions src/com/Upwork/api/Routers/Hr/Freelancers/Applications.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
author = "Maksym Novozhylov <mnovozhilov@upwork.com>",
date = "6/4/2014",
currentRevision = 1,
lastModified = "6/4/2014",
lastModified = "2/15/2014",
lastModifiedBy = "Maksym Novozhylov",
reviewers = {"Yiota Tsakiri"}
)
Expand All @@ -51,7 +51,7 @@ public Applications(OAuthClient client) {
* @return {@link JSONObject}
*/
public JSONObject getList(HashMap<String, String> params) throws JSONException {
return oClient.get("/hr/v3/contractors/applications", params);
return oClient.get("/hr/v4/contractors/applications", params);
}

/**
Expand All @@ -62,7 +62,7 @@ public JSONObject getList(HashMap<String, String> params) throws JSONException {
* @return {@link JSONObject}
*/
public JSONObject getSpecific(String reference) throws JSONException {
return oClient.get("/hr/v3/contractors/applications/" + reference);
return oClient.get("/hr/v4/contractors/applications/" + reference);
}

}

0 comments on commit aa25114

Please sign in to comment.