From 807de21316070233f413f6bc3ced697100a44182 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Sun, 8 Dec 2024 10:12:07 +0100 Subject: [PATCH] docs: add redirects (#1756) --- data/changelog.yaml | 12 +++++++++--- src/pages/docs/api/getting-started/data-fields.md | 1 + src/pages/docs/api/parameters/meta.md | 1 + 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/data/changelog.yaml b/data/changelog.yaml index 3cc6531e6..d84333c11 100644 --- a/data/changelog.yaml +++ b/data/changelog.yaml @@ -1,8 +1,14 @@ -- date: Ago 2024 +- date: December 2024 notes: - - '[Microlink MQL](/docs/mql/getting-started/overview): Added outerHTML and innerText as [attr](https://microlink.io/docs/mql/data/attr).' + - '[Microlink API](/docs/api/getting-started/overview): The query parameter [meta](/docs/api/parameters/meta) returns `redirects` as part of the response payload.' -- date: Jul 2024 +- date: October 2024 + notes: + - '[Microlink OSS](/oss): Added rewriting capabilities to [html-get](https://github.com/microlinkhq/html-get).' + - '[react-json-view](https://react-json-view.microlink.io/): Project revamp.' + - '[unavatar.io](https://unavatar.io) Added OnlyFans as provider.' + +- date: July 2024 notes: - '[Microlink](/): Released [website](https://github.com/microlinkhq/www/pull/1679) refactor.' - '[Microlink API](/docs/api/getting-started/overview): Improved favicon.ico detection.' diff --git a/src/pages/docs/api/getting-started/data-fields.md b/src/pages/docs/api/getting-started/data-fields.md index 6ee906211..20717b198 100644 --- a/src/pages/docs/api/getting-started/data-fields.md +++ b/src/pages/docs/api/getting-started/data-fields.md @@ -44,6 +44,7 @@ Additionally, Microlink gives you some HTTP information over the target URL, suc - `statusCode`: The HTTP status code associated with the url response. - `headers`: The HTTP response headers associated with the url response. + - `redirects`: A collection of HTTP redirects, where each entry contains the status code and URL for redirects followed from the original URL. The service also returns a `status` field to represent the stage of the current transaction. diff --git a/src/pages/docs/api/parameters/meta.md b/src/pages/docs/api/parameters/meta.md index d1845d544..0e266bd40 100644 --- a/src/pages/docs/api/parameters/meta.md +++ b/src/pages/docs/api/parameters/meta.md @@ -42,6 +42,7 @@ The normalized data fields is enabled by default, so you don't need to set it as } }, "statusCode": 200, + "redirects": [], "headers": { "content-type": "text/html; charset=utf-8", "x-content-type-options": "nosniff",