Browse Source

Merge pull request #111 from jld3103/fix/index-php-urls

specs,nextcloud: Fix index.php URLs
pull/112/head
jld3103 2 years ago committed by GitHub
parent
commit
2566d7a102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 60
      packages/nextcloud/lib/src/nextcloud.openapi.dart
  2. 46
      packages/nextcloud/lib/src/nextcloud.openapi.json
  3. 10
      specs/core.json
  4. 30
      specs/news.json
  5. 6
      specs/notes.json

60
packages/nextcloud/lib/src/nextcloud.openapi.dart

@ -1542,7 +1542,7 @@ class CoreClient {
} }
Future<CoreLoginFlowInit> initLoginFlow() async { Future<CoreLoginFlowInit> initLoginFlow() async {
var path = '/login/v2'; var path = '/index.php/login/v2';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -1559,7 +1559,7 @@ class CoreClient {
} }
Future<CoreLoginFlowResult> getLoginFlowResult({required String token}) async { Future<CoreLoginFlowResult> getLoginFlowResult({required String token}) async {
var path = '/login/v2/poll'; var path = '/index.php/login/v2/poll';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -1584,7 +1584,7 @@ class CoreClient {
int forceIcon = 1, int forceIcon = 1,
String mode = 'fill', String mode = 'fill',
}) async { }) async {
var path = '/core/preview.png'; var path = '/index.php/core/preview.png';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -1610,7 +1610,7 @@ class CoreClient {
required String userId, required String userId,
required int size, required int size,
}) async { }) async {
var path = '/avatar/{userId}/{size}/dark'; var path = '/index.php/avatar/{userId}/{size}/dark';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -1632,7 +1632,7 @@ class CoreClient {
required String userId, required String userId,
required int size, required int size,
}) async { }) async {
var path = '/avatar/{userId}/{size}'; var path = '/index.php/avatar/{userId}/{size}';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -1865,7 +1865,7 @@ class NewsClient {
final Client rootClient; final Client rootClient;
Future<GetSupportedApiVersions> getSupportedApiVersions() async { Future<GetSupportedApiVersions> getSupportedApiVersions() async {
var path = '/apps/news/api'; var path = '/index.php/apps/news/api';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -1882,7 +1882,7 @@ class NewsClient {
} }
Future<NewsListFolders> listFolders() async { Future<NewsListFolders> listFolders() async {
var path = '/apps/news/api/v1-3/folders'; var path = '/index.php/apps/news/api/v1-3/folders';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -1899,7 +1899,7 @@ class NewsClient {
} }
Future<NewsListFolders> createFolder({required String name}) async { Future<NewsListFolders> createFolder({required String name}) async {
var path = '/apps/news/api/v1-3/folders'; var path = '/index.php/apps/news/api/v1-3/folders';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -1920,7 +1920,7 @@ class NewsClient {
required int folderId, required int folderId,
required String name, required String name,
}) async { }) async {
var path = '/apps/news/api/v1-3/folders/{folderId}'; var path = '/index.php/apps/news/api/v1-3/folders/{folderId}';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -1939,7 +1939,7 @@ class NewsClient {
} }
Future deleteFolder({required int folderId}) async { Future deleteFolder({required int folderId}) async {
var path = '/apps/news/api/v1-3/folders/{folderId}'; var path = '/index.php/apps/news/api/v1-3/folders/{folderId}';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -1960,7 +1960,7 @@ class NewsClient {
required int folderId, required int folderId,
required int newestItemId, required int newestItemId,
}) async { }) async {
var path = '/apps/news/api/v1-3/folders/{folderId}/read'; var path = '/index.php/apps/news/api/v1-3/folders/{folderId}/read';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -1979,7 +1979,7 @@ class NewsClient {
} }
Future<NewsListFeeds> listFeeds() async { Future<NewsListFeeds> listFeeds() async {
var path = '/apps/news/api/v1-3/feeds'; var path = '/index.php/apps/news/api/v1-3/feeds';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -1999,7 +1999,7 @@ class NewsClient {
required String url, required String url,
int? folderId, int? folderId,
}) async { }) async {
var path = '/apps/news/api/v1-3/feeds'; var path = '/index.php/apps/news/api/v1-3/feeds';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2020,7 +2020,7 @@ class NewsClient {
} }
Future deleteFeed({required int feedId}) async { Future deleteFeed({required int feedId}) async {
var path = '/apps/news/api/v1-3/feeds/{feedId}'; var path = '/index.php/apps/news/api/v1-3/feeds/{feedId}';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2041,7 +2041,7 @@ class NewsClient {
required int feedId, required int feedId,
int? folderId, int? folderId,
}) async { }) async {
var path = '/apps/news/api/v1-3/feeds/{feedId}/move'; var path = '/index.php/apps/news/api/v1-3/feeds/{feedId}/move';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2065,7 +2065,7 @@ class NewsClient {
required int feedId, required int feedId,
required String feedTitle, required String feedTitle,
}) async { }) async {
var path = '/apps/news/api/v1-3/feeds/{feedId}/rename'; var path = '/index.php/apps/news/api/v1-3/feeds/{feedId}/rename';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2087,7 +2087,7 @@ class NewsClient {
required int feedId, required int feedId,
required int newestItemId, required int newestItemId,
}) async { }) async {
var path = '/apps/news/api/v1-3/feeds/{feedId}/read'; var path = '/index.php/apps/news/api/v1-3/feeds/{feedId}/read';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2113,7 +2113,7 @@ class NewsClient {
int offset = 0, int offset = 0,
int oldestFirst = 0, int oldestFirst = 0,
}) async { }) async {
var path = '/apps/news/api/v1-3/items'; var path = '/index.php/apps/news/api/v1-3/items';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2140,7 +2140,7 @@ class NewsClient {
int id = 0, int id = 0,
int lastModified = 0, int lastModified = 0,
}) async { }) async {
var path = '/apps/news/api/v1-3/items/updated'; var path = '/index.php/apps/news/api/v1-3/items/updated';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2160,7 +2160,7 @@ class NewsClient {
} }
Future markArticleAsRead({required int itemId}) async { Future markArticleAsRead({required int itemId}) async {
var path = '/apps/news/api/v1-3/items/{itemId}/read'; var path = '/index.php/apps/news/api/v1-3/items/{itemId}/read';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2178,7 +2178,7 @@ class NewsClient {
} }
Future markArticleAsUnread({required int itemId}) async { Future markArticleAsUnread({required int itemId}) async {
var path = '/apps/news/api/v1-3/items/{itemId}/unread'; var path = '/index.php/apps/news/api/v1-3/items/{itemId}/unread';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2196,7 +2196,7 @@ class NewsClient {
} }
Future starArticle({required int itemId}) async { Future starArticle({required int itemId}) async {
var path = '/apps/news/api/v1-3/items/{itemId}/star'; var path = '/index.php/apps/news/api/v1-3/items/{itemId}/star';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2214,7 +2214,7 @@ class NewsClient {
} }
Future unstarArticle({required int itemId}) async { Future unstarArticle({required int itemId}) async {
var path = '/apps/news/api/v1-3/items/{itemId}/unstar'; var path = '/index.php/apps/news/api/v1-3/items/{itemId}/unstar';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2328,7 +2328,7 @@ class NotesClient {
String? chunkCursor, String? chunkCursor,
String? ifNoneMatch, String? ifNoneMatch,
}) async { }) async {
var path = '/apps/notes/api/v1/notes'; var path = '/index.php/apps/notes/api/v1/notes';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2365,7 +2365,7 @@ class NotesClient {
int modified = 0, int modified = 0,
int favorite = 0, int favorite = 0,
}) async { }) async {
var path = '/apps/notes/api/v1/notes'; var path = '/index.php/apps/notes/api/v1/notes';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2391,7 +2391,7 @@ class NotesClient {
String exclude = '', String exclude = '',
String? ifNoneMatch, String? ifNoneMatch,
}) async { }) async {
var path = '/apps/notes/api/v1/notes/{id}'; var path = '/index.php/apps/notes/api/v1/notes/{id}';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2421,7 +2421,7 @@ class NotesClient {
int favorite = 0, int favorite = 0,
String? ifMatch, String? ifMatch,
}) async { }) async {
var path = '/apps/notes/api/v1/notes/{id}'; var path = '/index.php/apps/notes/api/v1/notes/{id}';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2455,7 +2455,7 @@ class NotesClient {
} }
Future<String> deleteNote({required int id}) async { Future<String> deleteNote({required int id}) async {
var path = '/apps/notes/api/v1/notes/{id}'; var path = '/index.php/apps/notes/api/v1/notes/{id}';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2473,7 +2473,7 @@ class NotesClient {
} }
Future<NotesSettings> getSettings() async { Future<NotesSettings> getSettings() async {
var path = '/apps/notes/api/v1/settings'; var path = '/index.php/apps/notes/api/v1/settings';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;
@ -2490,7 +2490,7 @@ class NotesClient {
} }
Future<NotesSettings> updateSettings({required NotesSettings notesSettings}) async { Future<NotesSettings> updateSettings({required NotesSettings notesSettings}) async {
var path = '/apps/notes/api/v1/settings'; var path = '/index.php/apps/notes/api/v1/settings';
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
final headers = <String, String>{}; final headers = <String, String>{};
Uint8List? body; Uint8List? body;

46
packages/nextcloud/lib/src/nextcloud.openapi.json

@ -2183,7 +2183,7 @@
} }
} }
}, },
"/login/v2": { "/index.php/login/v2": {
"post": { "post": {
"operationId": "init-login-flow", "operationId": "init-login-flow",
"tags": [ "tags": [
@ -2203,7 +2203,7 @@
} }
} }
}, },
"/login/v2/poll": { "/index.php/login/v2/poll": {
"post": { "post": {
"operationId": "get-login-flow-result", "operationId": "get-login-flow-result",
"tags": [ "tags": [
@ -2233,7 +2233,7 @@
} }
} }
}, },
"/core/preview.png": { "/index.php/core/preview.png": {
"parameters": [ "parameters": [
{ {
"name": "file", "name": "file",
@ -2310,7 +2310,7 @@
} }
} }
}, },
"/avatar/{userId}/{size}/dark": { "/index.php/avatar/{userId}/{size}/dark": {
"parameters": [ "parameters": [
{ {
"name": "userId", "name": "userId",
@ -2349,7 +2349,7 @@
} }
} }
}, },
"/avatar/{userId}/{size}": { "/index.php/avatar/{userId}/{size}": {
"parameters": [ "parameters": [
{ {
"name": "userId", "name": "userId",
@ -2388,7 +2388,7 @@
} }
} }
}, },
"/apps/news/api": { "/index.php/apps/news/api": {
"get": { "get": {
"operationId": "get-supported-api-versions", "operationId": "get-supported-api-versions",
"tags": [ "tags": [
@ -2416,7 +2416,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/folders": { "/index.php/apps/news/api/v1-3/folders": {
"get": { "get": {
"operationId": "list-folders", "operationId": "list-folders",
"tags": [ "tags": [
@ -2464,7 +2464,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/folders/{folderId}": { "/index.php/apps/news/api/v1-3/folders/{folderId}": {
"parameters": [ "parameters": [
{ {
"name": "folderId", "name": "folderId",
@ -2508,7 +2508,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/folders/{folderId}/read": { "/index.php/apps/news/api/v1-3/folders/{folderId}/read": {
"parameters": [ "parameters": [
{ {
"name": "folderId", "name": "folderId",
@ -2543,7 +2543,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/feeds": { "/index.php/apps/news/api/v1-3/feeds": {
"get": { "get": {
"operationId": "list-feeds", "operationId": "list-feeds",
"tags": [ "tags": [
@ -2599,7 +2599,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/feeds/{feedId}": { "/index.php/apps/news/api/v1-3/feeds/{feedId}": {
"parameters": [ "parameters": [
{ {
"name": "feedId", "name": "feedId",
@ -2622,7 +2622,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/feeds/{feedId}/move": { "/index.php/apps/news/api/v1-3/feeds/{feedId}/move": {
"parameters": [ "parameters": [
{ {
"name": "feedId", "name": "feedId",
@ -2655,7 +2655,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/feeds/{feedId}/rename": { "/index.php/apps/news/api/v1-3/feeds/{feedId}/rename": {
"parameters": [ "parameters": [
{ {
"name": "feedId", "name": "feedId",
@ -2688,7 +2688,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/feeds/{feedId}/read": { "/index.php/apps/news/api/v1-3/feeds/{feedId}/read": {
"parameters": [ "parameters": [
{ {
"name": "feedId", "name": "feedId",
@ -2721,7 +2721,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/items": { "/index.php/apps/news/api/v1-3/items": {
"get": { "get": {
"operationId": "list-articles", "operationId": "list-articles",
"tags": [ "tags": [
@ -2797,7 +2797,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/items/updated": { "/index.php/apps/news/api/v1-3/items/updated": {
"get": { "get": {
"operationId": "list-updated-articles", "operationId": "list-updated-articles",
"tags": [ "tags": [
@ -2846,7 +2846,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/items/{itemId}/read": { "/index.php/apps/news/api/v1-3/items/{itemId}/read": {
"parameters": [ "parameters": [
{ {
"name": "itemId", "name": "itemId",
@ -2869,7 +2869,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/items/{itemId}/unread": { "/index.php/apps/news/api/v1-3/items/{itemId}/unread": {
"parameters": [ "parameters": [
{ {
"name": "itemId", "name": "itemId",
@ -2892,7 +2892,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/items/{itemId}/star": { "/index.php/apps/news/api/v1-3/items/{itemId}/star": {
"parameters": [ "parameters": [
{ {
"name": "itemId", "name": "itemId",
@ -2915,7 +2915,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/items/{itemId}/unstar": { "/index.php/apps/news/api/v1-3/items/{itemId}/unstar": {
"parameters": [ "parameters": [
{ {
"name": "itemId", "name": "itemId",
@ -2938,7 +2938,7 @@
} }
} }
}, },
"/apps/notes/api/v1/notes": { "/index.php/apps/notes/api/v1/notes": {
"get": { "get": {
"operationId": "get-notes", "operationId": "get-notes",
"tags": [ "tags": [
@ -3078,7 +3078,7 @@
} }
} }
}, },
"/apps/notes/api/v1/notes/{id}": { "/index.php/apps/notes/api/v1/notes/{id}": {
"parameters": [ "parameters": [
{ {
"name": "id", "name": "id",
@ -3212,7 +3212,7 @@
} }
} }
}, },
"/apps/notes/api/v1/settings": { "/index.php/apps/notes/api/v1/settings": {
"get": { "get": {
"operationId": "get-settings", "operationId": "get-settings",
"tags": [ "tags": [

10
specs/core.json

@ -1133,7 +1133,7 @@
} }
} }
}, },
"/login/v2": { "/index.php/login/v2": {
"post": { "post": {
"operationId": "init-login-flow", "operationId": "init-login-flow",
"tags": [ "tags": [
@ -1153,7 +1153,7 @@
} }
} }
}, },
"/login/v2/poll": { "/index.php/login/v2/poll": {
"post": { "post": {
"operationId": "get-login-flow-result", "operationId": "get-login-flow-result",
"tags": [ "tags": [
@ -1183,7 +1183,7 @@
} }
} }
}, },
"/core/preview.png": { "/index.php/core/preview.png": {
"parameters": [ "parameters": [
{ {
"name": "file", "name": "file",
@ -1260,7 +1260,7 @@
} }
} }
}, },
"/avatar/{userId}/{size}/dark": { "/index.php/avatar/{userId}/{size}/dark": {
"parameters": [ "parameters": [
{ {
"name": "userId", "name": "userId",
@ -1299,7 +1299,7 @@
} }
} }
}, },
"/avatar/{userId}/{size}": { "/index.php/avatar/{userId}/{size}": {
"parameters": [ "parameters": [
{ {
"name": "userId", "name": "userId",

30
specs/news.json

@ -284,7 +284,7 @@
} }
}, },
"paths": { "paths": {
"/apps/news/api": { "/index.php/apps/news/api": {
"get": { "get": {
"operationId": "get-supported-api-versions", "operationId": "get-supported-api-versions",
"tags": [ "tags": [
@ -312,7 +312,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/folders": { "/index.php/apps/news/api/v1-3/folders": {
"get": { "get": {
"operationId": "list-folders", "operationId": "list-folders",
"tags": [ "tags": [
@ -360,7 +360,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/folders/{folderId}": { "/index.php/apps/news/api/v1-3/folders/{folderId}": {
"parameters": [ "parameters": [
{ {
"name": "folderId", "name": "folderId",
@ -404,7 +404,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/folders/{folderId}/read": { "/index.php/apps/news/api/v1-3/folders/{folderId}/read": {
"parameters": [ "parameters": [
{ {
"name": "folderId", "name": "folderId",
@ -439,7 +439,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/feeds": { "/index.php/apps/news/api/v1-3/feeds": {
"get": { "get": {
"operationId": "list-feeds", "operationId": "list-feeds",
"tags": [ "tags": [
@ -495,7 +495,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/feeds/{feedId}": { "/index.php/apps/news/api/v1-3/feeds/{feedId}": {
"parameters": [ "parameters": [
{ {
"name": "feedId", "name": "feedId",
@ -518,7 +518,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/feeds/{feedId}/move": { "/index.php/apps/news/api/v1-3/feeds/{feedId}/move": {
"parameters": [ "parameters": [
{ {
"name": "feedId", "name": "feedId",
@ -551,7 +551,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/feeds/{feedId}/rename": { "/index.php/apps/news/api/v1-3/feeds/{feedId}/rename": {
"parameters": [ "parameters": [
{ {
"name": "feedId", "name": "feedId",
@ -584,7 +584,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/feeds/{feedId}/read": { "/index.php/apps/news/api/v1-3/feeds/{feedId}/read": {
"parameters": [ "parameters": [
{ {
"name": "feedId", "name": "feedId",
@ -617,7 +617,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/items": { "/index.php/apps/news/api/v1-3/items": {
"get": { "get": {
"operationId": "list-articles", "operationId": "list-articles",
"tags": [ "tags": [
@ -693,7 +693,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/items/updated": { "/index.php/apps/news/api/v1-3/items/updated": {
"get": { "get": {
"operationId": "list-updated-articles", "operationId": "list-updated-articles",
"tags": [ "tags": [
@ -742,7 +742,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/items/{itemId}/read": { "/index.php/apps/news/api/v1-3/items/{itemId}/read": {
"parameters": [ "parameters": [
{ {
"name": "itemId", "name": "itemId",
@ -765,7 +765,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/items/{itemId}/unread": { "/index.php/apps/news/api/v1-3/items/{itemId}/unread": {
"parameters": [ "parameters": [
{ {
"name": "itemId", "name": "itemId",
@ -788,7 +788,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/items/{itemId}/star": { "/index.php/apps/news/api/v1-3/items/{itemId}/star": {
"parameters": [ "parameters": [
{ {
"name": "itemId", "name": "itemId",
@ -811,7 +811,7 @@
} }
} }
}, },
"/apps/news/api/v1-3/items/{itemId}/unstar": { "/index.php/apps/news/api/v1-3/items/{itemId}/unstar": {
"parameters": [ "parameters": [
{ {
"name": "itemId", "name": "itemId",

6
specs/notes.json

@ -139,7 +139,7 @@
} }
}, },
"paths": { "paths": {
"/apps/notes/api/v1/notes": { "/index.php/apps/notes/api/v1/notes": {
"get": { "get": {
"operationId": "get-notes", "operationId": "get-notes",
"tags": [ "tags": [
@ -279,7 +279,7 @@
} }
} }
}, },
"/apps/notes/api/v1/notes/{id}": { "/index.php/apps/notes/api/v1/notes/{id}": {
"parameters": [ "parameters": [
{ {
"name": "id", "name": "id",
@ -413,7 +413,7 @@
} }
} }
}, },
"/apps/notes/api/v1/settings": { "/index.php/apps/notes/api/v1/settings": {
"get": { "get": {
"operationId": "get-settings", "operationId": "get-settings",
"tags": [ "tags": [

Loading…
Cancel
Save