Skip to content
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

Update APIs using dev=true feature flag that have been live for more than 14 days #185

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ Returns all logs according to the provided queries and path/named-route param.
Returns all the logs present in the collection.

**Query**

`dev=[boolean]`

Optional: `type=`
- `CLOUDFLARE_CACHE_PURGED`
Expand Down Expand Up @@ -126,7 +124,7 @@ rds-session: <JWT SUPERUSER>
{
"message": "All Logs fetched successfully",
"data": ["<LOG_OBJECT>", "<LOG_OBJECT>...."],
"next": "/logs?dev=true&size=5&next=<document-id>",
"next": "/logs?size=5&next=<document-id>",
"prev": null
}
```
Expand Down
13 changes: 2 additions & 11 deletions requests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ Returns a list of requests with pagination and filtering options.

- **Description:** Fetches a list of requests, optionally filtered by various parameters.

- **URL:** `https://api.realdevsquad.com/requests?dev=true`
- **URL:** `https://api.realdevsquad.com/requests`

- **Method:** GET

- **Query Parameters:**

- `dev`: Required boolean to fetch requests.
- `page`: Optional integer to specify the page number. Default is 1.
- `size`: Optional integer to specify the number of requests per page. Default is 5.
- `requestedBy`: Optional string to filter requests by the requester's username.
Expand Down Expand Up @@ -109,11 +108,7 @@ Creates a new request.

- **Description:** Creates a new request with the provided details.

- **URL:** `https://api.realdevsquad.com/requests?dev=true`

- **Query Parameters:**

- `dev`: Required boolean to create requests in developer mode.
- **URL:** `https://api.realdevsquad.com/requests`

- **Method:** POST

Expand Down Expand Up @@ -224,10 +219,6 @@ Updates an existing request with the provided details.

- `id`: The unique identifier of the request to be updated.

- **Query Parameters:**

- `dev`: Required boolean to update requests in developer mode.

- **Headers:**
- Content-Type: application/json
- **Cookie:**
Expand Down
1 change: 0 additions & 1 deletion tasks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ Returns all the tasks
- **Params**
None
- **Query**
- Optional: `dev=[boolean]` (`dev` is passed to get all tasks in the developer mode with features that are flagged)
- Optional: `status=[string]` (`status` is a case insenstive string with one of the following values [AVAILABLE, ASSIGNED, COMPLETED, IN_PROGRESS, BLOCKED, SMOKE_TESTING, NEEDS_REVIEW, IN_REVIEW, APPROVED, MERGED, SANITY_CHECK, REGRESSION_CHECK, RELEASED, VERIFIED, DONE, UNASSIGNED] which represents the status of the task)
- Optional: `assignee=[string]` (`assignee` can be assignee username in case of single assignee or multiple comma separated values in case of multiple assignee)
- Optional: `title=[string]` (`title` can be case sensitive, whole or starting portion of task title)
Expand Down