Skip to main content

URL

URL 是用于保存网站链接的输入法。

💡 常用网址 Usage

例如,URL 输入类型可被用来存储指向任何网络资源的链接:

  • Datadog 仪表板链接;
  • 配置文件链接;
  • 链接到拉取请求;
  • 等等。

应用程序接口定义

{
"myUrlInput": {
"title": "My url input",
"icon": "My icon",
"description": "My url input",
"type": "string",
"format": "url",
"default": "https://example.com"
}
}

Check out Port's API reference to learn more.

Terraform 定义

resource "port_action" "myAction" {
# ...action properties
user_properties = {
string_props = {
"myUrlInput" = {
title = "My url input"
icon = "My icon"
description = "My url input"
format = "url"
default = "https://example.com"
}
}
}
}