Skip to content

Commit

Permalink
API: new minor API version 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
korelstar committed Apr 2, 2021
1 parent a63a154 commit 93d1068
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/api/v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ In this document, the Notes API major version 1 and all its minor versions are d
|:-----------:|:----------------------------|:-------------------|
| **1.0** | Notes 3.3 (May 2020) | Separate title, no auto rename based on content |
| **1.1** | Notes 3.4 (May 2020) | Filter "Get all notes" by category |
| **1.2** | DRAFT | TODO |



Expand Down
2 changes: 1 addition & 1 deletion lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class Application extends App implements IBootstrap {
public const APP_ID = 'notes';
public static $API_VERSIONS = [ '0.2', '1.1' ];
public static $API_VERSIONS = [ '0.2', '1.2' ];

public function __construct(array $urlParams = []) {
parent::__construct(self::APP_ID, $urlParams);
Expand Down
2 changes: 1 addition & 1 deletion tests/api/APIv1Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

class APIv1Test extends CommonAPITest {
public function __construct() {
parent::__construct('1.1', false);
parent::__construct('1.2', false);
}
}

0 comments on commit 93d1068

Please sign in to comment.