Skip to content

Commit

Permalink
remove deprecated endpoints; update searchText to be text
Browse files Browse the repository at this point in the history
  • Loading branch information
longshuicy committed Jan 21, 2025
1 parent fdb4e12 commit 09b7143
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 188 deletions.
14 changes: 7 additions & 7 deletions server/project-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ system, including creating, updating, and deleting projects, as well as managing
- **Path**: `/project/api/projects`
- **Description**: Retrieve a list of all available projects, optionally filtered by parameters.
- **Query Parameters**:
- `name`, `creator`, `owner`, `region`, `type`, `searchText`, `space`, `skip`, `limit`
- `name`, `creator`, `owner`, `region`, `type`, `text`, `space`, `skip`, `limit`
- **Example**:
```http
GET /project/api/projects?name={name}&creator={creator}&skip={skip}&limit={limit}
Expand Down Expand Up @@ -146,10 +146,10 @@ system, including creating, updating, and deleting projects, as well as managing
- **Path Parameter**:
- `projectId` (string) - ID of the project.
- **Query Parameters**:
- `skip`, `limit`, `type`, `searchText`
- `skip`, `limit`, `type`, `text`
- **Example**:
```http
GET /project/api/projects/66c60ba518da486b1e9c08d5/datasets?searchText=Building Inventory
GET /project/api/projects/66c60ba518da486b1e9c08d5/datasets?text=Building Inventory
```


Expand Down Expand Up @@ -258,7 +258,7 @@ system, including creating, updating, and deleting projects, as well as managing
- **Path Parameter**:
- `projectId` (string) - ID of the project.
- **Query Parameters**:
- `skip`, `limit`, `type`, `hazardType`, `inventoryType`, `searchText`
- `skip`, `limit`, `type`, `hazardType`, `inventoryType`, `text`
- **Example**:
```http
GET /project/api/projects/66c60ba518da486b1e9c08d5/dfr3mappings
Expand Down Expand Up @@ -352,7 +352,7 @@ system, including creating, updating, and deleting projects, as well as managing
- **Path Parameter**:
- `projectId` (string) - ID of the project.
- **Query Parameters**:
- `skip`, `limit`, `type`, `searchText`
- `skip`, `limit`, `type`, `text`
- **Example**:
```http
GET /project/api/projects/66c60ba518da486b1e9c08d5/hazards
Expand Down Expand Up @@ -509,7 +509,7 @@ system, including creating, updating, and deleting projects, as well as managing
- **Path Parameter**:
- `projectId` (string) - ID of the project.
- **Query Parameters**:
- `skip`, `limit`, `type`, `searchText`
- `skip`, `limit`, `type`, `text`
- **Example**:
```http
GET /project/api/projects/66c60ba518da486b1e9c08d5/workflows
Expand Down Expand Up @@ -584,7 +584,7 @@ system, including creating, updating, and deleting projects, as well as managing
- **Path Parameter**:
- `projectId` (string) - ID of the project.
- **Query Parameters**:
- `skip`, `limit`, `type`, `searchText`
- `skip`, `limit`, `type`, `text`
- **Example**:
```http
GET /project/api/projects/66c60ba518da486b1e9c08d5/visualizations
Expand Down
Loading

0 comments on commit 09b7143

Please sign in to comment.