跳转到内容

統一資源標誌符方案

维基百科,自由的百科全书

计算机科学URI方案是統一資源標誌符 (URI)命名結構的第一級。所有的统一资源定位符是從模式名稱後跟兩個點構建的(“:”)構建的。對句法語義的具體一部分,在很大程度上,留給不同的技術規範

由於大多數模式最初設計用於協議,因此它們通常被錯誤地稱為“協議”或“URI協議”。例如,超文本傳輸協定方案通常用於使用超文本傳輸協定協議指定網絡資源。現在,此模式中的URI用於其他應用程序,例如與協議無關的資源描述框架资源(请参阅資源描述框架方案法语RDF Schema)或XML的命名空間。

通用的语法

<方案名稱>:<等級部分>[吗? <查询>][#<片段>]

例子

以下是URI的兩個示例及其不同的組件:

  foo://username:[email protected]:8042/over/there/index.dtb?type=animal;name=ferret#nose
  \ /   \________________/\_________/ \__/            \___/ \_/ \_____________________/ \__/
   |           |               |       |                |    |           |                |
   |          用戶            主機    端口              |    |          查詢             片段
   |    \_______________________________/ \_____________|____|/
  方案                  |                         |     |    |
   |                   域名                      路徑   |    |
   |                                                    |    |
   |             路徑                              可以解釋為文件名
   |   ___________|____________                              |
  / \ /                        \                             |
  urn:example:animal:ferrett:nose                  可以解釋為擴展名

在互聯網號碼分配局註冊的方案

在IANA註冊的官方URI方案如下(請注意,“IETF草案”絕不是最終規範,因此不得對其進行處理;有關詳細信息,請參閱RFC 2026的第2.2節):

方案 目的 狀態 由什麼標準定義 一般格式 備註
aaa
aaas
Diameter Protocol Permanent RFC 3588
RFC 6733
aaa[s]://<host>[:<port>][;transport=<transport>][;protocol=<protocol>]

example:
aaa://host.example.com:1813;transport=udp;protocol=radius

about Displaying product information and internal information Permanent RFC 6694 See about URI scheme for more details. Widely used by web browsers, sometimes even providing interactive resources. Individual vendors modify this scheme: for instance, the Opera web browser forwards to their opera: scheme instead and Chrome uses chrome:.
acap Application Configuration Access Protocol Permanent RFC 2244 acap://[<user>[;AUTH=<type>]@]<host>[:<port>]/<entry> URL scheme used within the ACAP protocol for the "subdataset" attribute, referrals and inheritance
acct Identifying user account Permanent RFC 7565
acr Anonymous Customer Reference Provisional IANA registration template页面存档备份,存于互联网档案馆
Open Mobile Alliance
adiumxtra Direct installation of Adium Xtras (plugins). Provisional IANA registration template页面存档备份,存于互联网档案馆
The Adium Team
adiumxtra://www.adiumxtras.com/download/0000 0000 refers to a specific Xtra
afp Accessing Apple Filing Protocol shares Provisional IANA registration template页面存档备份,存于互联网档案馆
IETF Draft
over TCP/IP: afp://[<user>@]<host>[:<port>][/[<path>]]

over AppleTalk: afp:/at/[<user>@]<host>[:<zone>][/]

afs Andrew File System global file names Provisional RFC 1738
aim Controlling AOL Instant Messenger. Provisional IANA registration template页面存档备份,存于互联网档案馆
AOL
aim:<function>?<parameters> Functions include goim, addbuddy, and buddyicon.
apt Experimental method of installing software using APT. Provisional IANA registration template页面存档备份,存于互联网档案馆 apt:<package name> Commonly found on websites which contain Debian software repositories.
attachment Attaching resources to MHTML pages Provisional IANA registration template页面存档备份,存于互联网档案馆 attachment:/<resource number>/<filename> Opera-specific
aw Link to an Active Worlds world Provisional IANA registration template页面存档备份,存于互联网档案馆
Activeworlds Inc.
aw://<worldserver host>:<worldserver port>/<worldname> Mostly found in HTTP referers when users open a website from within an Active Worlds world.
barion Send e-money to a Barion e-money wallet Provisional IANA registration template页面存档备份,存于互联网档案馆
Barion URI scheme
barion:<target>[?[amount=<amount>][&][currency=<currency>][&][comment=<comment>][&][sender=<sender>][&][type=purchase|charity|p2p]] Used by Barion mobile apps.
beshare Open a search query on a BeShare server Provisional IANA registration template页面存档备份,存于互联网档案馆
BeShare source code
beshare://<servername>/<query> Mostly used internally, with variants.
bitcoin Send money to a Bitcoin address Provisional IANA registration template页面存档备份,存于互联网档案馆
Bitcoin URI Scheme页面存档备份,存于互联网档案馆
bitcoin:<address>[?[amount=<size>][&][label=<label>][&][message=<message>]]
blob Binary data access in browsers Provisional IANA registration template页面存档备份,存于互联网档案馆
W3C页面存档备份,存于互联网档案馆
bolo Join an existing bolo game. Provisional IANA registration template页面存档备份,存于互联网档案馆 bolo://<hostname>/ Mostly passed via IRC or via tracker servers.
callto Launching Skype call (+And in Hungary the KLIP Software call too) (see also skype:) Provisional IANA registration template页面存档备份,存于互联网档案馆
old version of IETF Draft页面存档备份,存于互联网档案馆
callto:<screenname> or
callto:<phonenumber> [1]页面存档备份,存于互联网档案馆
Introduced with Microsoft NetMeeting. Works with current version of Skype with Internet Explorer, Opera and Safari
cap Calendar access protocol Permanent RFC 4324 generic syntax URL scheme used to designate both calendar stores and calendars accessible using the CAP protocol
chrome Specifies user interfaces built using XUL in Mozilla-based browsers. Provisional IANA registration template页面存档备份,存于互联网档案馆
Mozilla页面存档备份,存于互联网档案馆
chrome://<package>/<section>/<path> (Where <section> is either "content", "skin" or "locale") Works only in Mozilla-based browsers such as Firefox, SeaMonkey and Netscape. Not related to the Google Chrome browser.
chrome Used for the management of Google Chrome's settings. In contrast with other browsers, its preferences appear as web-pages instead of dialog boxes. Provisional IANA registration template页面存档备份,存于互联网档案馆
Google页面存档备份,存于互联网档案馆
chrome://<settings>/<path>/[<specificSetting>] Works only in Google Chrome and Chromium.
chrome-extension Manage the settings of extensions which have been installed. Provisional IANA registration template页面存档备份,存于互联网档案馆
Google页面存档备份,存于互联网档案馆
chrome-extension://<extensionID>/<pageName>.html (Where <extensionID> is the ID given to the extension by "Chrome Web Store" and <pageName> is the location of an HTML page) Works only in Google Chrome and Chromium.
com-eventbrite-attendee Provisional IANA registration template页面存档备份,存于互联网档案馆
cid Referencing individual parts of an SMTP/MIME message Permanent RFC 2111
RFC 2392
cid:<content-id> e.g. referencing an attached image within a formatted e-mail. (See also mid:)
coap
coaps
Constrained Application Protocol Permanent RFC 7252 coap[s]://<host>[:<port>]/<path>[?<query>] Identify CoAP resources and provide a means of locating the resource.
content Accessing an Android content provider. Provisional IANA registration template页面存档备份,存于互联网档案馆
Open Handset Alliance
content://provider/<path> Performs a query on an Android Content Provider页面存档备份,存于互联网档案馆
crid TV-Anytime Content Reference Identifier Permanent RFC 4078 crid://<host>/<data> Allow references to scheduled publications of broadcast media content.
cvs Provides a link to a Concurrent Versions System (CVS) Repository Provisional IANA registration template页面存档备份,存于互联网档案馆
Concurrent Versions System
cvs://<method:logindetails>@<repository>/<modulepath>;[date=date to retrieve | tag=tag to retrieve]
data Inclusion of small data items inline Permanent RFC 2397 data:<mediatype>[;base64],<data>
dav HTTP Extensions for Distributed Authoring (WebDAV) Permanent RFC 2518
RFC 4918
dav: Used for internal identifiers only; WebDAV itself addresses resources using the http: and https: schemes. [2]
dict Dictionary service protocol Permanent RFC 2229 dict://<user>;<auth>@<host>:<port>/d:<word>:<database>:<n>

dict://<user>;<auth>@<host>:<port>/m:<word>:<database>:<strat>:<n>

refer to definitions or word lists available using the DICT protocol
dlna-playsingle
dlna-playcontainer
Provisional IANA registration template页面存档备份,存于互联网档案馆IANA registration template页面存档备份,存于互联网档案馆
dns Domain Name System Permanent RFC 4501 dns:[//<host>[:<port>]/]<dnsname>[?<dnsquery>]

examples:
dns:example?TYPE=A;CLASS=IN
dns://192.168.1.1/ftp.example.org?type=A

designates a DNS resource record set, referenced by domain name, class, type, and, optionally, the authority
dntp Direct Network Transfer Protocol Provisional IANA registration template页面存档备份,存于互联网档案馆
dtn DTNRG research and development Provisional RFC 5050
dvb Provisional IETF Draft
ed2k Resources available using the eDonkey2000 network Provisional IANA registration template页面存档备份,存于互联网档案馆
eDonkey2000
ed2k://|file|<filename>|<size of file>|<hash of file>|/ or
ed2k://|server|<host>|<port>|/
Links to servers are also possible, as are additional parameters. Official documentation from eDonkey2000 website,存档于互联网档案馆(存檔 index)
example For examples Permanent RFC 7595 example:<anything>
facetime FaceTime is a video conferencing software developed by Apple for iPhone 4, the fourth generation iPod Touch, and computers running Mac OS X. Provisional IANA registration template页面存档备份,存于互联网档案馆
Apple Inc.
facetime://<address>|<MSISDN>|<mobile number>

example:
facetime://+19995551234

Apple has not published documentation on this protocol yet.
fax Used for telefacsimile numbers Historical RFC 2806
RFC 3966
fax:<phonenumber> Deprecated in RFC 3966 in favour of tel:. Listed as "Historical"
feed web feed subscription Provisional IANA registration template页面存档备份,存于互联网档案馆 feed:<absolute_uri> or
feed://<hierarchical part>

examples:
feed://example.com/rss.xml
feed:https://example.com/rss.xml

See Feed URI scheme for a detailed overview of common implementations, supported software, and critics.
file Addressing files on local or network file systems Permanent RFC 1738
RFC 3986
file://[host]/path or

(RFC 3986) file:[//host]/path

Since this usually used for local files the host from RFC 1738 is often empty leading to a starting triple /. RFC 3986 allows an absolute path with no host part.
filesystem Abandoned part of File API Historical IANA registration template页面存档备份,存于互联网档案馆
finger Querying user information using the Finger protocol Provisional IANA registration template页面存档备份,存于互联网档案馆
IETF Draft
finger://host[:port][/<request>]
fish Accessing another computer's files using the SSH protocol Provisional IANA registration template页面存档备份,存于互联网档案馆
fish KDE kioslave页面存档备份,存于互联网档案馆
fish://[<username>[:<password>]@]<hostname>[:<port>] See Files transferred over shell protocol for details about the protocol.
ftp FTP resources Permanent RFC 1738
IETF Draft
Old IETF Draft
generic syntax
geo A Uniform Resource Identifier for Geographic Locations Permanent RFC 5870 geo:<lat>,<lon>[,<alt>][;u=<uncertainty>]
(for WGS-84)
Other coordinate reference systems (including those for non-terrestrial globes, such as The Moon and Mars) will be supported, once registered.
gg Starting chat with Gadu-Gadu user Provisional IANA registration template页面存档备份,存于互联网档案馆
Gadu-Gadu
gg:<userid>
git Provides a link to a GIT repository Provisional IANA registration template页面存档备份,存于互联网档案馆
Git
Github example: git://github.com/user/project-name.git
gizmoproject Gizmo5 calling link. Provisional IANA registration template页面存档备份,存于互联网档案馆 gizmoproject://call?id=<gizmo_id> May use sip:// instead of gizmoproject:// in recent versions of Gizmo5.
go Common Name Resolution Protocol Permanent RFC 3368 go://[<host>]?[<common-name>]*[;<attribute>=[<type>,]<value>] or
go:<common-name>*[;<attribute>=[<type>,]<value>]
gopher Used with Gopher protocol Permanent RFC 4266 gopher://<host>:<port>/<item type><path>
gtalk Start a chat with a Google Talk user Provisional IANA registration template页面存档备份,存于互联网档案馆
Google Talk
gtalk:[email protected] See Google Talk, XMPP, and http://juberti.blogspot.com/2006/11/gtalk-uri.html页面存档备份,存于互联网档案馆) for more information
h323 Used with H.323 multimedia communications Permanent RFC 3508 h323:[<user>@]<host>[:<port>][;<parameters>]
hcp Displaying a help page on Microsoft Windows Help and Support Center. Provisional IANA registration template页面存档备份,存于互联网档案馆
Microsoft
hcp://system/<File>.htm (Where <File> is the file to load) Works only on Windows XP. Later replaced by ms-help:.
http HTTP resources Permanent RFC 1738
RFC 2616
(makes
RFC 2068
obsolete)
RFC 7230
generic syntax
https HTTP connections secured using SSL/TLS Permanent RFC 2817
RFC 7230
generic syntax
iax Inter-Asterisk eXchange protocol version 2 Permanent RFC 5456 iax:[<username>@]<host>[:<port>][/<number>[?<context>]]
examples
iax:[2001:db8::1]:4569/alice?friends
iax:[email protected]/12022561414
icap Internet Content Adaptation Protocol Permanent RFC 3507
icon Provisional IETF Draft
im Instant messaging protocol Permanent RFC 3860 im:<username>@<host>, and also im:sip:<username>@<host> for MS Communicator launching Works as xmpp: URI for single user chat sessions.
imap Accessing e-mail resources through IMAP Permanent RFC 2192
RFC 5092
imap://[<user>[;AUTH=<type>]@]<host>[:<port>]/<command>
info Information Assets with Identifiers in Public Namespaces Permanent RFC 4452
iotdisco Identify things on Internet of Things Provisional IANA registration template页面存档备份,存于互联网档案馆
ipn Provisional RFC 6260
ipp Internet Printing Protocol Permanent RFC 3510
ipps Internet Printing Protocol over HTTPS Permanent RFC 7472
irc Connecting to an Internet Relay Chat server to join a channel. Provisional IANA registration template页面存档备份,存于互联网档案馆
IETF Draft
Old IETF Draft页面存档备份,存于互联网档案馆
irc://<host>[:<port>]/[<channel>[?<password>]] Assuming the client knows a server associated with the name, "host" may optionally be an IRC network name.
irc6 IPv6 equivalent of irc Provisional IANA registration template页面存档备份,存于互联网档案馆 irc6://<host>[:<port>]/[<channel>[?<password>]] See irc
ircs Secure equivalent of irc Provisional IANA registration template页面存档备份,存于互联网档案馆
IETF Draft
ircs://<host>[:<port>]/[<channel>[?<password>]] See irc
iris
iris.beep
iris.xpc
iris.xpcs
iris.lws
Internet Registry Information Service Permanent RFC 3981 RFC 3983 RFC 4992 RFC 4992 RFC 4993
itms Used for connecting to the iTunes Music Store Provisional IANA registration template页面存档备份,存于互联网档案馆
Apple Inc
itms:
jabber Permanent IANA registration template页面存档备份,存于互联网档案馆
jar Compressed archive member Provisional IANA registration template页面存档备份,存于互联网档案馆
Java API页面存档备份,存于互联网档案馆
jar:<url>!/[<entry>] Works for any ZIP based file.
jms Java Message Service Provisional RFC 6167
keyparc Keyparc encrypt/decrypt resource. Provisional IANA registration template页面存档备份,存于互联网档案馆
Bloombase
keyparc://encrypt/<username>/<uri> or

keyparc://decrypt/<username>/<uri>

lastfm Connecting to a radio stream from Last.fm. Provisional IANA registration template页面存档备份,存于互联网档案馆
Last.fm
lastfm://<radio_stream> or lastfm://globaltags/<genre> or
lastfm://user/<username>/<stuff>
ldap LDAP directory request Permanent RFC 2255
RFC 4516
ldap://[<host>[:<port>]][/<dn> [?[<attributes>][?[<scope>][?[<filter>][?<extensions>]]]]]

example:
ldap://ldap1.example.net:6666/o=University%20of%20Michigan, c=US??sub?(cn=Babs%20Jensen)

ldaps Secure equivalent of ldap Provisional IANA registration template页面存档备份,存于互联网档案馆
Old version of IETF Draft页面存档备份,存于互联网档案馆
ldaps://[<host>[:<port>]][/<dn> [?[<attributes>][?[<scope>][?[<filter>][?<extensions>]]]]] Not an IETF standard, but commonly used in applications.
magnet "magnet links" Provisional IANA registration template页面存档备份,存于互联网档案馆
Magnet-URI Project页面存档备份,存于互联网档案馆
magnet:?xt=urn:sha1:<hash of file>&dn=<display name>
(other parameters are also possible)
Used by various peer-to-peer clients, usually providing the hash of a file to be located on the network.
mailserver Access to data available from mail servers Historical RFC 6196
mailto SMTP e-mail addresses and default content Permanent RFC 6068 mailto:<address>[?<header1>=<value1>[&<header2>=<value2>]]

example:
mailto:[email protected]?subject=A%20Test&body=My%20idea%20is%3A%20%0A

Headers are optional, but often include subject=; body= can be used to pre-fill the body of the message.
maps "map links" Provisional IANA registration template页面存档备份,存于互联网档案馆 maps:q=<physical location> Some mobile web browsers will launch a dedicated mapping application. See also "geo:" (RFC 5870)
market Opens Google Play Provisional IANA registration template页面存档备份,存于互联网档案馆
Android [3]页面存档备份,存于互联网档案馆
  • market://details?id=Package_name or
  • market://search?q=Search_Query or
  • market://search?q=pub:Publisher_Name
Supported by Android devices
message Direct link to specific email message Provisional IANA registration template页面存档备份,存于互联网档案馆
Apple Inc [4]页面存档备份,存于互联网档案馆
message:<MESSAGE-ID>

message://<MESSAGE-ID>

Supported by Mail since OS X 10.5
mid Referencing SMTP/MIME messages, or parts of messages. Permanent RFC 2111
RFC 2392
mid:<message-id>[/<content-id>] (See also cid:)
mms Windows streaming media Provisional IANA registration template页面存档备份,存于互联网档案馆
Microsoft
mms://<host>:<port>/<path> Used by Windows Media Player to stream audio and/or video.
modem Historical RFC 2806
RFC 3966
Deprecated in RFC 3966 in favour of tel:. Listed as "Historical"
ms-help Displaying a help page on Microsoft Windows Help and Support Center. Used by Windows Vista and later. Provisional IANA registration template页面存档备份,存于互联网档案馆
Microsoft
ms-help://<section>/<path>/<file>.htm (Where <section> is a library of help files – the name of the library begins with "MS.", <path> is the sub-libraries, and <file> is the name of the file) Works only on Windows Vista and later.
ms-settings

ms-settings-airplanemode
ms-settings-bluetooth
ms-settings-camera
ms-settings-cellular
ms-settings-cloudstorage
ms-settings-emailandaccounts
ms-settings-language
ms-settings-location
ms-settings-lock
ms-settings-nfctransactions
ms-settings-notifications
ms-settings-power
ms-settings-privacy
ms-settings-proximity
ms-settings-screenrotation
ms-settings-wifi
ms-settings-workplace

Settings application in Windows Provisional IANA registration templates页面存档备份,存于互联网档案馆
msnim Adding a contact, or starting a conversation in Windows Live Messenger Provisional IANA registration template页面存档备份,存于互联网档案馆
Windows Live Messenger
Add a contact to the buddy list

msnim:[email protected]
Start a conversation with a contact
msnim:[email protected]
Start a voice conversation with a contact
msnim:[email protected]
Start a video conversation with a contact
msnim:[email protected]

Can be invoked from a web page or via a run command or an Internet Explorer browser URL (won't work with Firefox 2.0.0.8). For web pages use this HTML: <a href="[email protected]">Click to chat!</a>
msrp
msrps
Message Session Relay Protocol Permanent RFC 4975
mtqp Message Tracking Query Protocol Permanent RFC 3887
mumble Joining a server. Provisional IANA registration template页面存档备份,存于互联网档案馆
Mumble
mumble://[username[:password]@]<address>[:port]/[channelpath]?version=<serverversion>[&title=<servername>][&url=<serverurl>] Official documentation from Mumble website页面存档备份,存于互联网档案馆
mupdate Mailbox Update Protocol Permanent RFC 3656
mvn Access Apache Maven repository artifacts Provisional IANA registration template页面存档备份,存于互联网档案馆
OPS4J
mvn:org.ops4j.pax.web.bundles/service/0.2.0-SNAPSHOT
mvn:http://user:[email protected]/maven2!org.ops4j.pax.web.bundles/service/0.2.0
news (Usenet) newsgroups and postings Permanent RFC 1738
RFC 5538
news:<newsgroupname> or
news:<message-id>
References a particular resource, regardless of location.
nfs Network File System resources Permanent RFC 2224 generic syntax
ni
nih
Permanent RFC 6920
nntp Usenet NNTP Permanent RFC 1738
RFC 5538
nntp://<host>:<port>/<newsgroup-name>/<article-number> Referencing a specific host is often less useful than referencing the resource generically, as NNTP servers are not always publicly accessible
notes Open a Lotus Notes document or database Provisional IANA registration template页面存档备份,存于互联网档案馆
Lotus Notes
notes://<address> Used by IBM Lotus Notes to refer to documents and databases stored within the Lotus Notes system. When clicked in a browser on a computer with Lotus Notes client installed, Notes will open the document link as if a Notes DocLink were clicked within Notes.
oid Provisional IANA registration template页面存档备份,存于互联网档案馆IETF Draft
opaquelocktoken Permanent RFC 2518
RFC 4918
pack Historical IANA registration template页面存档备份,存于互联网档案馆IETF Draft
palm Used to designate system services in HP webOS applications Provisional IANA registration template页面存档备份,存于互联网档案馆
HP webOS
palm:<servicename>[/<method>]]/ Official documentation from HP webOS Services Overview
paparazzi Used to launch and automatically take a screen shot using the application "Paparazzi!" (Mac only) Provisional IANA registration template页面存档备份,存于互联网档案馆
Derailer页面存档备份,存于互联网档案馆
paparazzi:[<options>]http:[//<host>[:[<port>][<transport>]]/ Official documentation from the Paparazzi! website页面存档备份,存于互联网档案馆
pkcs11 PKCS #11 Permanent RFC 7512
platform Access to Eclipse platform resources. Provisional IANA registration template页面存档备份,存于互联网档案馆
Eclipse platform scheme documentation页面存档备份,存于互联网档案馆
platform:/(resource|plugin|fragment|meta|config|base)/... Registered with java.net.URL when launching with the org.eclipse.core.filesystem bundle, and heavily leveraged by org.eclipse.emf.common.util.URI.
pop Accessing mailbox through POP3 Permanent RFC 2384 pop://[<user>[;AUTH=<auth>]@]<host>[:<port>]
pres Used in Common Profile for Presence (CPP) to identify presence Permanent RFC 3859 pres:<address>[?<header1>=<value1>[&<header2>=<value2>]] Similar to "mailto:"
prospero Prospero Directory Service Historical RFC 1738
RFC 4157
Listed as "Historical" by IANA.
proxy Alter proxy settings in the FoxyProxy application Provisional IANA registration template页面存档备份,存于互联网档案馆
FoxyProxy
proxy:<option>=<value>[&<option>=<value>[&...]] Official documentation from FoxyProxy website
psyc Used to identify or locate a person, group, place or a service and specify its ability to communicate Provisional IANA registration template页面存档备份,存于互联网档案馆
PSYC
psyc:[//<host>[:[<port>][<transport>]]/[<object-name>][#<channel-name>] Official documentation from PSYC website页面存档备份,存于互联网档案馆
query Opens a filesystem query Provisional IANA registration template页面存档备份,存于互联网档案馆
Haiku
query:<queryformula> Implemented by the url_wrapper application
redis
rediss
Redis database Provisional IANA registration template页面存档备份,存于互联网档案馆
IANA registration template页面存档备份,存于互联网档案馆
reload REsource LOcation And Discovery Protocol Permanent RFC 6940 reload://<destination>@<overlay>/[<specifier>]
res Used by Internet Explorer to display error pages when the server doesn't have its own customized error pages, or when there is no response from the server (in case which the server wasn't found, like when the server is down or the domain isn't registered or when there is no Internet connection, or in case of a timeout). Provisional IANA registration template页面存档备份,存于互联网档案馆
Microsoft页面存档备份,存于互联网档案馆
res://ieframe.dll/<File> (Where <File> is the file to load) Works only in Internet Explorer.
resource Creating mapping for resource protocol aliases generted by the resource instruction. Used by Firefox.[1] Provisional IANA registration template页面存档备份,存于互联网档案馆
Mozilla
resource://<aliasname>/ (Where <aliasname> is the name of the aliase) Works only in Firefox.
rmi Look up a Java object in an RMI registry. Provisional IANA registration template页面存档备份,存于互联网档案馆
Sun
rmi://<host>[:<port>]/<object-name> URI scheme understood by JNDI. Can be used to lookup a remote Java object within an RMI registry (typically for the purposes of RMI on that object). Host/port in the URI are of the rmiregistry页面存档备份,存于互联网档案馆) process, not the remote object.
rsync rsync Provisional RFC 5781 rsync://<host>[:<port>]/<path>
rtmfp Real Time Media Flow Protocol Provisional IANA registration template页面存档备份,存于互联网档案馆
RFC 7425
rtmfp://<host>/<application>/<media>
rtmp Real Time Messaging Protocol Provisional IANA registration template页面存档备份,存于互联网档案馆
Adobe Systems
rtmp://<host>/<application>/<media> URI scheme used to connect to Adobe Flash Media Server.
rtsp Real Time Streaming Protocol Permanent RFC 2326
secondlife Open the Map floater in Second Life application to teleport the resident to the location. Provisional IANA registration template页面存档备份,存于互联网档案馆
Linden Lab
secondlife://<region name>/<x position>/<y position>/<z position> Used by SLurl.com页面存档备份,存于互联网档案馆). Knowledge base article页面存档备份,存于互联网档案馆).
service Permanent RFC 2609
session Media Resource Control Protocol Permanent RFC 4463
RFC 6787
session:<content-id>

example:
session:[email protected]

sftp SFTP file transfers (not be to confused with FTPS (FTP/SSL)) Provisional IANA registration template页面存档备份,存于互联网档案馆
IETF Draft
sftp://[<user>[;fingerprint=<host-key fingerprint>]@]<host>[:<port>]/<path>/<file>
sgn Social Graph Node Mapper Provisional IANA registration template页面存档备份,存于互联网档案馆
Google
example:

sgn://social-network.example.com/?ident=bob

Official documentation from sgnodemapper project页面存档备份,存于互联网档案馆).
shttp Secure HTTP Permanent RFC 2660 Largely superseded by HTTPS.
sieve ManageSieve protocol Permanent RFC 5804
sip Used with Session Initiation Protocol (SIP) Permanent RFC 2543
RFC 3969
RFC 3261
sip:<user>[:<password>]@<host>[:<port>][;<uri-parameters>][?<headers>]

examples:
sip:[email protected]?subject=project%20x&priority=urgent
sip:+1-212-555-1212:[email protected];user=phone

sips Secure equivalent of sip Permanent RFC 3969
RFC 3261
sips:<user>[:<password>]@<host>[:<port>][;<uri-parameters>][?<headers>]
skype Launching Skype call (see also callto:) Provisional IANA registration template页面存档备份,存于互联网档案馆
Skype页面存档备份,存于互联网档案馆
skype:<username|phonenumber>[?[add|call|chat|sendfile|userinfo]]
smb Accessing SMB/CIFS shares Provisional IANA registration template页面存档备份,存于互联网档案馆
IETF Draft
smb://[<user>@]<host>[:<port>][/[<path>]][?<param1>=<value1>[;<param2>=<value2>]] or
smb://[<user>@]<workgroup>[:<port>][/] or

smb://[[<domain>;]<username>[:<password>]@]<server>[:<port>][/[<share>[/[<path>]]][?[<param>=<value>[<param2>=<value2>[...]]]]][2]
example:
smb://workgroup;user:password@server/share/folder/file.txt

sms Interact with SMS capable devices for composing and sending messages. Permanent RFC 5724 sms:<phone number>?<action>

examples:
sms:+15105550101?body=hello%20there
sms:+15105550101,+15105550102?body=hello%20there

Should be used as a subset to the tel: schema. [來源請求]
snews NNTP over SSL/TLS Historical RFC 5538
snmp Simple Network Management Protocol Permanent RFC 4088 snmp://[user@]host[:port][/[<context>[;<contextEngineID>]][/<oid>]]

examples:
snmp://example.com//1.3.6.1.2.1.1.3+
snmp://[email protected]:8161/bridge1;800002b804616263

soap.beep
soap.beeps
Permanent RFC 3288
RFC 4227
soldat Joining servers Provisional IANA registration template页面存档备份,存于互联网档案馆
Soldat
soldat://<host>:<port>/[password]

example:
soldat://127.0.0.1:23073/thatssecret!

Official note in Manual页面存档备份,存于互联网档案馆
spotify Load a track, album, artist, search, or playlist in Spotify Provisional IANA registration template页面存档备份,存于互联网档案馆
Spotify
spotify:<artist|album|track>:<id> or
spotify:search:<text> or
spotify:user:<username>:playlist:<id>

example:
spotify:track:2jCnn1QPQ3E8ExtLe6INsx

Informally specified in Spotify official blog post by CTO Andreas Ehn.
ssh SSH connections (like telnet:) Provisional IANA registration template页面存档备份,存于互联网档案馆
IETF Draft
ssh://[<user>[;fingerprint=<host-key fingerprint>]@]<host>[:<port>]
steam Interact with Steam: install apps, purchase games, run games, etc. Provisional IANA registration template页面存档备份,存于互联网档案馆
Steam, Valve Corporation
steam:<command line arguments> or
steam://<action>/<id, addon, IP, hostname, etc.>
Official documentation from Valve Developer Community website页面存档备份,存于互联网档案馆
stun
stuns
Session Traversal Utilities for NAT (STUN) Permanent RFC 7064 stun[s]:<host>[:<port>]
svn Provides a link to a Subversion (SVN) source control repository Provisional IANA registration template页面存档备份,存于互联网档案馆
Subversion
svn[+ssh]://<logindetails>@<repository><:port>/<modulepath>
tag Tag URI Permanent RFC 4151 tag:<email/domainname>,<date>:<Item> Represented entities do not necessarily have to be accessible electronically.
teamspeak Joining a server. Provisional IANA registration template页面存档备份,存于互联网档案馆
TeamSpeak
teamspeak://<server>[:<port>]/[?<parameter1>=<value1>[&<parameter2>=<value2>]] Official documentation from TeamSpeak Website页面存档备份,存于互联网档案馆
tel Used for telephone numbers Permanent RFC 5341
RFC 3966
RFC 2806
tel:<phonenumber>
telnet Used with telnet Permanent RFC 1738
RFC 4248
telnet://<user>:<password>@<host>[:<port>/]
tftp Trivial File Transfer Protocol Permanent RFC 3617
things Interact with Things: create new to-dos or go to a specific list Provisional IANA registration template页面存档备份,存于互联网档案馆
Cultured Code
things:command?parameter1=value1&parameter2... Works in iOS or OS X if Things by Cultured Code is installed. Complete documentation
thismessage multipart/related relative reference resolution Permanent IANA registration template页面存档备份,存于互联网档案馆RFC 2557
tn3270 Interactive 3270 emulation sessions Permanent RFC 6270
tip Transaction Internet Protocol Permanent RFC 2371
turn
turns
Traversal Using Relays around NAT (TURN) Permanent RFC 7065 turn[s]:<host>[:<port>][?transport=<transport>]
tv TV Broadcasts Permanent RFC 2838
udp BitTorrent tracker protocol based on UDP. Provisional IANA registration template页面存档备份,存于互联网档案馆
BitTorrent
udp://<server>[:<port>]/ Documentation: UDP tracker protocol页面存档备份,存于互联网档案馆
udp MPEG Transport Stream over UDP Provisional IANA registration template页面存档备份,存于互联网档案馆
MPEG-TS
udp://[<localaddress>@]<destination|multicastgroup>[:<port>] Supported by FFmpeg, VLC and other common video streaming applications and appliances. Each UDP packet typically contains 1 to 7 188 byte TS packets with no additional headers or footers.
unreal Joining servers Provisional IANA registration template页面存档备份,存于互联网档案馆
Unreal
unreal://<server>[:<port>]/ Unreal legacy "protocol"
urn Uniform Resource Names Permanent RFC 2141 urn:<namespace>:<specificpart> Commonly used with namespace 'uuid'. See URN Namespaces页面存档备份,存于互联网档案馆).
ut2004 Joining servers Provisional IANA registration template页面存档备份,存于互联网档案馆
Unreal Tournament 2004
ut2004://<server>[:<port>][/<map>?<options>] Documentation from Unreal Developer Network
vemmi Versatile Multimedia Interface Permanent RFC 2122
ventrilo Joining a server. Provisional IANA registration template页面存档备份,存于互联网档案馆
Ventrilo
ventrilo://<server>[:<port>]/[?<parameter1>=<value1>[&<parameter2>=<value2>]] Official documentation from Ventrilo Website页面存档备份,存于互联网档案馆
videotex Historical IANA registration template页面存档备份,存于互联网档案馆
IETF Draft
RFC 2122
RFC 3986
view-source Shows a web page as code 'in the raw'. Provisional IANA registration template页面存档备份,存于互联网档案馆

IETF Draft

view-source:<absolute-URI>

where <absolute-URI> is specified in RFC 3986. Example:
view-source:http://en.wikipedia.org/wiki/URI_scheme

See view-source URI scheme for details.
wais Used with Wide area information server (WAIS) Historical RFC 1738
RFC 4156
wais://<host>:<port>/<database>[?<search>] or wais://<host>:<port>/<database>/<wtype>/<wpath> Listed as "Historical" by IANA.
webcal Subscribing to calendars in iCalendar format Provisional IANA registration template页面存档备份,存于互联网档案馆
iCalendar
webcal://<hierarchical part>

example:
webcal://example.com/calendar.ics

HTTP as a transport protocol is assumed.
See Webcal for details.
ws
wss
WebSocket protocol Permanent RFC 6455 ws:<hierarchical part>
wtai Wireless Telephony Application Interface Provisional IANA registration template页面存档备份,存于互联网档案馆
WAP Forum
wtai://wp/mc/+18165551212 See Application Protocol Wireless Application Environment Specification Version 1.1 for details.
wyciwyg What You Cache Is What You Get WYCIWYG Provisional IANA registration template页面存档备份,存于互联网档案馆
Mozilla
wyciwyg://<URI> See WYCIWYG for details.
xcon
xcon-userid
Permanent RFC 6501
xfire Adding friends and servers, joining servers, changing status text. Provisional IANA registration template页面存档备份,存于互联网档案馆
Xfire
xfire:<function>[?<parameter1>=<value1>[&<parameter2>=<value2>]] Official documentation from Xfire website
xmlrpc.beep
xmlrpc.beeps
Permanent RFC 3529
xmpp XMPP Permanent RFC 4622
RFC 5122
xmpp:[<user>]@<host>[:<port>]/[<resource>][?<query>]
xri eXtensible Resource Identifier (XRI) Provisional IANA registration template页面存档备份,存于互联网档案馆
OASIS XRI Technical Committee页面存档备份,存于互联网档案馆
xri://<authority>[/[<path>]][?<query>][#fragment] Official documentation from OASIS XRI Technical Committee页面存档备份,存于互联网档案馆
ymsgr Sending an instant message to a Yahoo! Contact. Provisional IANA registration template页面存档备份,存于互联网档案馆
Yahoo! Messenger
ymsgr:sendIM?<screenname>
z39.50 Z39.50 information access Historical RFC 1738
RFC 2056
z39.50r Z39.50 retrieval Permanent RFC 2056 z39.50r://<host>[:<port>]/<database>?<docid>[;esn=<elementset>][;rs=<recordsyntax>]
z39.50s Z39.50 session Permanent RFC 2056 z39.50s://<host>[:<port>]/[<database>][?<docid>][;esn=<elementset>][;rs=<recordsyntax>]

通常使用的非官方URI方案

方案 目的 由誰定義 格式 備註
adiumxtra 直接安裝Adium插件。 Adium團隊 adiumxtra://www.adiumxtras.com/download/0000 0000標識特定插件。
aim 讓您控制美國在線即時通訊 美國在線 aim:<function>?<parameters> 功能包括goimaddbuddybuddyicon
apt 通過高级打包工具安裝軟件的實驗方法。 apt:<package name> 用於託管Debian軟件存儲庫的站點。
afp 允許訪問苹果归档协议共享 http://tools.ietf.org/html/draft-ietf-svrloc-afp-service-01页面存档备份,存于互联网档案馆 通過 互联网协议套件: afp://[<user>@]<host>[:<port>][/[<path>]]

通過 AppleTalk: afp:/at/[<user>@]<host>[:<zone>][/]

aw英语Active Worlds 指向世界的鏈接Active Worlds Activeworlds Inc.英语Active Worlds aw://<worldserver host>:<worldserver port>/<worldname> 當用戶從Active Worlds世界打開網站時,通常會將其視為引用者。
bolo英语Bolo_(1987_video_game) 加入Bolo遊戲 bolo://<hostname>/ 通常由IRC或遊戲服務器傳輸。
callto 開始Skype通信 callto:<screenname>
callto:<phonenumber> [5]页面存档备份,存于互联网档案馆
Initialement apparu dans NetMeeting. Fonctionne avec les versions actuelles de Skype avec Mozilla Firefox, Internet Explorer et Safari

最初出現在NetMeeting中。 適用於 Firefox,Internet Explorer和Safari的當前Skype版本

chrome Utilisé par les interfaces construites avec XUL. Mozilla chrome://<package>/<section>/<path> (Ou <code><section></code> peut être "content", "skin" ou "locale") Fonctionne seulement dans les navigateurs basés sur Mozilla, tels que Firefox, SeaMonkey et Netscape.
coap Accède aux ressources par Constrained Application Protocol (CoAP). http://tools.ietf.org/html/draft-ietf-core-coap-04#section-6页面存档备份,存于互联网档案馆 coap://<host>[:<port>]/<path>[?<query>] Identifie les ressources CoAP et permet de localiser les resources.
content Accède à un fournisseur de contenu Android. Open Handset Alliance content://provider/<path> Effectue une requête sur un fournisseur de contenu页面存档备份,存于互联网档案馆Android.
cvs Lien vers un dépôt CVS. Concurrent Versions System cvs://<method:logindetails>@<repository>/<modulepath>;[date=date to retrieve | tag=tag to retrieve]
doi Digital object identifier, a digital identifier for any object of intellectual property. The International DOI Foundation doi:10.<publisher number>/<suffix>
Exemple : doi:10.1000/182
{{{2}}}
ed2k Resources available using the eDonkey2000 network eDonkey2000 ed2k://|file|<filename>|<size of file>|<hash of file>|/ ou
ed2k://|server|<host>|<port>|/
{{{2}}}
{{{2}}} web feed subscription feed:<absolute_uri> ou
feed://<hierarchical part>

exemples :
feed://example.com/rss.xml
feed:https://example.com/rss.xml

{{{2}}}]]{{{2}}}]] for a detailed overview of common implementations, supported software, and critics.
finger Querying user information using the Finger protocol http://tools.ietf.org/html/draft-ietf-uri-url-finger-02页面存档备份,存于互联网档案馆 finger://host[:port][/<request>]
fish Accessing another computer's files using the SSH protocol http://docs.kde.org/stable/en/kdebase/kioslave/fish.html页面存档备份,存于互联网档案馆 fish://[<username>[:<password>]@]<hostname>[:<port>] {{{2}}}]]{{{2}}}]] for details about the protocol.
gg Starting chat with Gadu-Gadu user Gadu-Gadu gg:<userid>
gizmoproject Gizmo5 calling link. gizmoproject://call?id=<gizmo_id> {{{2}}}
gtalk Start a chat with a Google Talk user Google Talk gtalk:[email protected] {{{2}}}
iax2 Inter-Asterisk eXchange protocol version 2 http://tools.ietf.org/id/draft-guy-iax-03.txt页面存档备份,存于互联网档案馆 iax2:[<username>@]<host>[:<port>][/<number>[?<context>]]

exemples :
iax2:[2001:db8::1]:4569/alice?friends
iax2:[email protected]/12022561414

irc Connecting to an Internet Relay Chat server to join a channel. http://tools.ietf.org/html/draft-butcher-irc-url-04页面存档备份,存于互联网档案馆
http://tools.ietf.org/html/draft-mirashi-url-irc-01页面存档备份,存于互联网档案馆
irc://<host>[:<port>]/[<channel>[?<password>]] Assuming the client knows a server associated with the name, "host" may optionally be an IRC network name.
ircs Secure equivalent of irc http://tools.ietf.org/html/draft-butcher-irc-url-04页面存档备份,存于互联网档案馆 ircs://<host>[:<port>]/[<channel>[?<password>]] See irc
irc6 IPv6 equivalent of irc irc6://<host>[:<port>]/[<channel>[?<password>]] See irc
itms Used for connecting to the iTunes Music Store Apple Inc itms:
jar Compressed archive member Java API页面存档备份,存于互联网档案馆 jar:<url>!/[<entry>] Works for any ZIP based file.
javascript Execute JavaScript code http://tools.ietf.org/html/draft-hoehrmann-javascript-scheme-00页面存档备份,存于互联网档案馆 javascript:<javascript to execute> Works in any modern browser.
keyparc Keyparc encrypt/decrypt resource. [[:{{{2}}}|{{{2}}}]]{{{2}}}]] keyparc://encrypt/<username>/<uri> ou

keyparc://decrypt/<username>/<uri>

lastfm Connecting to a radio stream from Last.fm. Last.fm lastfm://<radio_stream> ou lastfm://globaltags/<genre> ou
lastfm://user/<username>/<stuff>
ldaps Secure equivalent of ldap ldaps://[<host>[:<port>]][/<dn> [?[<attributes>][?[<scope>][?[<filter>][?<extensions>]]]]] Not an IETF standard, but commonly used in applications.
magnet "magnet links" http://magnet-uri.sourceforge.net/页面存档备份,存于互联网档案馆 magnet:?xt=urn:sha1:<hash of file>&dn=<display name>
(other parameters are also possible)
Used by various peer-to-peer clients, usually providing the hash of a file to be located on the network.
maps "map links" maps:q=<physical location> Some mobile web browsers will launch a dedicated mapping application.
mms Windows streaming media mms://<host>:<port>/<path> Used by Windows Media Player to stream audio and/or video.
msnim Adding a contact, or starting a conversation in Windows Live Messenger Windows Live Messenger Add a contact to the buddy list

msnim:[email protected]
Start a conversation with a contact
msnim:[email protected]
Start a voice conversation with a contact
msnim:[email protected]
Start a video conversation with a contact
msnim:[email protected]

{{{2}}}
mvn Access Apache Maven repository artifacts OPS4J mvn:org.ops4j.pax.web.bundles/service/0.2.0-SNAPSHOT
mvn:http://user:[email protected]/maven2!org.ops4j.pax.web.bundles/service/0.2.0
notes Open a Lotus Notes document or database Lotus Notes notes://<address> Used by IBM Lotus Notes to refer to documents and databases stored within the Lotus Notes system. When clicked in a browser on a computer with Lotus Notes client installed, Notes will open the document link as if a Notes DocLink were clicked within Notes.
psyc Used to identify or locate a person, group, place or a service and specify its ability to communicate PSYC psyc:[//<host>[:[<port>][<transport>]]/[<object-name>][#<channel-name>] {{{2}}}
paparazzi:http Used to launch and automatically take a screen shot using the application "Paparazzi" (Mac only) http://www.derailer.org/paparazzi/faq页面存档备份,存于互联网档案馆 paparazzi:http:[//<host>[:[<port>][<transport>]]/ {{{2}}}
rmi Look up a Java object in an RMI registry. [[Sun Microsystems|Sun]] rmi://<host>[:<port>]/<object-name> {{{2}}}
rsync rsync rsync://<host>[:<port>]/<path>
secondlife Open the Map floater in Second Life application to teleport the resident to the location. Linden Lab secondlife://<region name>/<x position>/<y position>/<z position> {{{2}}}
sgn Social Graph Node Mapper Google exemple :

sgn://social-network.example.com/?ident=bob

{{{2}}}
skype Launching Skype call (official; see also callto:) Skype skype:<username|phonenumber>[?[add|call|chat|sendfile|userinfo]] {{{2}}}
ssh SSH connections (like telnet:) and http://tools.ietf.org/html/draft-ietf-secsh-scp-sftp-ssh-uri-04页面存档备份,存于互联网档案馆 ssh://[<user>[;fingerprint=<host-key fingerprint>]@]<host>[:<port>]
sftp SFTP file transfers (not be to confused with FTPS (FTP/SSL)) http://tools.ietf.org/html/draft-ietf-secsh-scp-sftp-ssh-uri-04页面存档备份,存于互联网档案馆 sftp://[<user>[;fingerprint=<host-key fingerprint>]@]<host>[:<port>]/<path>/<file>
smb Accessing SMB/CIFS shares http://tools.ietf.org/html/draft-crhertel-smb-url-11页面存档备份,存于互联网档案馆 smb://[<user>@]<host>[:<port>][/[<path>]][?<param1>=<value1>[;<param2>=<value2>]] ou
smb://[<user>@]<workgroup>[:<port>][/]
sms Interact with SMS capable devices for composing and sending messages. http://tools.ietf.org/html/draft-wilde-sms-uri-12页面存档备份,存于互联网档案馆 sms:<phone number>?<action> Should be used as a subset to the tel: schema. [來源請求]
soldat Joining servers Soldat soldat://<host>:<port>/[password]

exemple :
soldat://127.0.0.1:23073/thatssecret!

{{{2}}}
steam Interact with Steam: install apps, purchase games, run gamesTemplate:Etc. Steam, Valve Corporation steam:<command line arguments> ou
steam://<action>/<id, addon, IP, hostname, etc.>
{{{2}}}
svn Provides a link to a Subversion (SVN) source control repository Subversion (software) svn[+ssh]://<logindetails>@<repository><:port>/<modulepath>
teamspeak Joining a server. TeamSpeak teamspeak://<server>[:<port>]/[?<parameter1>=<value1>[&<parameter2>=<value2>]] {{{2}}}
unreal Joining servers Unreal unreal://<server>[:<port>]/ Unreal legacy "protocol"
ut2004 Joining servers Unreal Tournament 2004 ut2004://<server>[:<port>][/<map>?<options>] {{{2}}}
ventrilo Joining a server. Ventrilo ventrilo://<server>[:<port>]/[?<parameter1>=<value1>[&<parameter2>=<value2>]] {{{2}}}
view-source法语View-source URI scheme Shows a web page as code ‘in the raw’. Mozilla, Google Chrome view-source:<URI>

exemple :
view-source:http://en.wikipedia.org/wiki/URI_scheme

{{{2}}}
webcal Subscribing to calendars in iCalendar format iCalendar webcal://<hierarchical part>

exemple :
webcal://example.com/calendar.ics

HTTP as a transport protocol is assumed.
See Webcal for details.
wtai Wireless Telephony Application Interface WAP Forum wtai://wp/mc/+18165551212 {{{2}}}
wyciwyg What You Cache Is What You Get WYCIWYG Mozilla wyciwyg://<URI> See WYCIWYG for details.
xfire Adding friends and servers, joining servers, changing status text. Xfire xfire:<function>[?<parameter1>=<value1>[&<parameter2>=<value2>]] {{{2}}}
xri eXtensible Resource Identifier (XRI) OASIS http://www.oasis-open.org/committees/xri页面存档备份,存于互联网档案馆 xri://<authority>[/[<path>]][?<query>][#fragment] {{{2}}}
ymsgr Sending an instant message to a Yahoo! Contact. Yahoo! Messenger ymsgr:sendIM?<screenname>


参考文献

  1. ^ Taken from the following documentation page of Firefox's Developer: Chrome registration页面存档备份,存于互联网档案馆
  2. ^ JCIFS API: Class jcifs.smb.SmbFile. [2019-05-30]. (原始内容存档于2012-10-18).