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

feat: add an API to obtain the details of the linked website #2

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

LIlGG
Copy link
Member

@LIlGG LIlGG commented Jun 5, 2024

What type of PR is this?

/kind feature

What this PR does / why we need it:

增加使用链接获取对应网站基础数据的接口。

/apis/api.hyperlink.halo.run/v1alpha1/link-detail?url=https://github.com/halo-dev/halo

必要参数为 url

返回字段为:

title: string
url: string
description?: string
icon?: string
image?: string

Does this PR introduce a user-facing change?

增加使用链接获取对应网站基础数据的接口

@f2c-ci-robot f2c-ci-robot bot added kind/feature Categorizes issue or PR as related to a new feature. release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Jun 5, 2024
@f2c-ci-robot f2c-ci-robot bot requested review from guqing and ruibaby June 5, 2024 10:10
Copy link

f2c-ci-robot bot commented Jun 5, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign ruibaby for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ruibaby ruibaby merged commit 49c53f4 into halo-sigs:main Jun 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants