-
Notifications
You must be signed in to change notification settings - Fork 24
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 missing isValidNewName legacy route #8252
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
PATCH /v8/datasets/:organizationId/:datasetName controllers.LegacyApiController.updateDatasetV8(organizationId: String, datasetName: String) | ||
GET /v8/datasets/:organizationId/:datasetName/sharingToken controllers.LegacyApiController.getDatasetSharingTokenV8(organizationId: String, datasetName: String) | ||
PATCH /v8/datasets/:organizationId/:datasetName/teams controllers.LegacyApiController.updateDatasetTeamsV8(organizationId: String, datasetName: String) | ||
GET /v8/datasets/:organizationId/:datasetName/isValidNewName controllers.LegacyApiController.isValidNewNameV8(datasetName: String, organizationId: String) | ||
GET /v8/datasets/:organizationId/:datasetName controllers.LegacyApiController.readDatasetV8(organizationId: String, datasetName: String, sharingToken: Option[String]) | ||
GET /v8/tasks/:id controllers.LegacyApiController.readTaskV8(id: String) | ||
POST /v8/tasks controllers.LegacyApiController.createTaskV8() | ||
|
@@ -33,6 +34,7 @@ GET /v8/tasks/:id/annotations co | |
PATCH /v7/datasets/:organizationId/:datasetName controllers.LegacyApiController.updateDatasetV8(organizationId: String, datasetName: String) | ||
GET /v7/datasets/:organizationId/:datasetName/sharingToken controllers.LegacyApiController.getDatasetSharingTokenV8(organizationId: String, datasetName: String) | ||
PATCH /v7/datasets/:organizationId/:datasetName/teams controllers.LegacyApiController.updateDatasetTeamsV8(organizationId: String, datasetName: String) | ||
GET /v7/datasets/:organizationId/:datasetName/isValidNewName controllers.LegacyApiController.isValidNewNameV8(datasetName: String, organizationId: String) | ||
GET /v7/datasets/:organizationId/:datasetName controllers.LegacyApiController.readDatasetV8(organizationId: String, datasetName: String, sharingToken: Option[String]) | ||
GET /v7/tasks/:id controllers.LegacyApiController.readTaskV8(id: String) | ||
POST /v7/tasks controllers.LegacyApiController.createTaskV8() | ||
|
@@ -50,6 +52,7 @@ GET /v7/datasets co | |
PATCH /v6/datasets/:organizationId/:datasetName controllers.LegacyApiController.updateDatasetV8(organizationId: String, datasetName: String) | ||
GET /v6/datasets/:organizationId/:datasetName/sharingToken controllers.LegacyApiController.getDatasetSharingTokenV8(organizationId: String, datasetName: String) | ||
PATCH /v6/datasets/:organizationId/:datasetName/teams controllers.LegacyApiController.updateDatasetTeamsV8(organizationId: String, datasetName: String) | ||
GET /v6/datasets/:organizationId/:datasetName/isValidNewName controllers.LegacyApiController.isValidNewNameV8(datasetName: String, organizationId: String) | ||
GET /v6/tasks/:id controllers.LegacyApiController.readTaskV8(id: String) | ||
POST /v6/tasks controllers.LegacyApiController.createTaskV8() | ||
PUT /v6/tasks/:id controllers.LegacyApiController.updateTaskV8(id: String) | ||
|
@@ -69,6 +72,7 @@ GET /v6/datasets/:organizationName/:datasetName co | |
PATCH /v5/datasets/:organizationId/:datasetName controllers.LegacyApiController.updateDatasetV8(organizationId: String, datasetName: String) | ||
GET /v5/datasets/:organizationId/:datasetName/sharingToken controllers.LegacyApiController.getDatasetSharingTokenV8(organizationId: String, datasetName: String) | ||
PATCH /v5/datasets/:organizationId/:datasetName/teams controllers.LegacyApiController.updateDatasetTeamsV8(organizationId: String, datasetName: String) | ||
GET /v5/datasets/:organizationId/:datasetName/isValidNewName controllers.LegacyApiController.isValidNewNameV8(datasetName: String, organizationId: String) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Inconsistent parameter naming between v5 routes. There's an inconsistency in parameter naming between the new v5 route and the existing v5 route:
This might cause confusion for API consumers using v5. Consider using consistent parameter naming within the same API version. Either:
-GET /v5/datasets/:organizationId/:datasetName/isValidNewName controllers.LegacyApiController.isValidNewNameV8(datasetName: String, organizationId: String)
+GET /v5/datasets/:organizationName/:datasetName/isValidNewName controllers.LegacyApiController.isValidNewNameV8(datasetName: String, organizationName: String)
Also applies to: 89-89 |
||
GET /v5/tasks/:id controllers.LegacyApiController.readTaskV8(id: String) | ||
POST /v5/tasks controllers.LegacyApiController.createTaskV8() | ||
PUT /v5/tasks/:id controllers.LegacyApiController.updateTaskV8(id: String) | ||
|
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.
Missing implementations for v5-v7
The PR objective mentions testing via v7 endpoint (
/api/v7/datasets/<some orga>/TestThisName/isValidNewName
), but only v8 implementation is present. Implementations for v6 and v7 appear to be missing.Add implementations for v6 and v7: