Skip to content

Commit 807de21

Browse files
authored
docs: add redirects (#1756)
1 parent 207a9c7 commit 807de21

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

data/changelog.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
- date: Ago 2024
1+
- date: December 2024
22
notes:
3-
- '[Microlink MQL](/docs/mql/getting-started/overview): Added outerHTML and innerText as [attr](https://microlink.io/docs/mql/data/attr).'
3+
- '[Microlink API](/docs/api/getting-started/overview): The query parameter [meta](/docs/api/parameters/meta) returns `redirects` as part of the response payload.'
44

5-
- date: Jul 2024
5+
- date: October 2024
6+
notes:
7+
- '[Microlink OSS](/oss): Added rewriting capabilities to [html-get](https://github.com/microlinkhq/html-get).'
8+
- '[react-json-view](https://react-json-view.microlink.io/): Project revamp.'
9+
- '[unavatar.io](https://unavatar.io) Added OnlyFans as provider.'
10+
11+
- date: July 2024
612
notes:
713
- '[Microlink](/): Released [website](https://github.com/microlinkhq/www/pull/1679) refactor.'
814
- '[Microlink API](/docs/api/getting-started/overview): Improved favicon.ico detection.'

src/pages/docs/api/getting-started/data-fields.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Additionally, Microlink gives you some HTTP information over the target URL, suc
4444

4545
- `statusCode`: The HTTP status code associated with the url response.
4646
- `headers`: The HTTP response headers associated with the url response.
47+
- `redirects`: A collection of HTTP redirects, where each entry contains the status code and URL for redirects followed from the original URL.
4748

4849
The service also returns a `status` field to represent the stage of the current transaction.
4950

src/pages/docs/api/parameters/meta.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ The normalized data fields is enabled by default, so you don't need to set it as
4242
}
4343
},
4444
"statusCode": 200,
45+
"redirects": [],
4546
"headers": {
4647
"content-type": "text/html; charset=utf-8",
4748
"x-content-type-options": "nosniff",

0 commit comments

Comments
 (0)