1e41f4b71Sopenharmony_ci# Application URI Description
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci## Basic URI Format
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci**uris** declared in **skills** of the **module.json5** file contains the following fields. Among them, **scheme** is mandatory. Other fields are valid only when **scheme** is configured.
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ci- **scheme**: scheme name, for example, **http**, **https**, **file**, and **ftp**. Custom values are also supported.
8e41f4b71Sopenharmony_ci- **host**: domain name or IP address, for example, developer.huawei.com or 127.0.0.1.
9e41f4b71Sopenharmony_ci- **port**: port number, for example, 80 in developer.huawei.com:80.
10e41f4b71Sopenharmony_ci- **path**: directory or file path on the DNS, for example, consumer in developer.huawei.com/consumer/.
11e41f4b71Sopenharmony_ci- **pathStartWith**: prefix of the directory or file path on the DNS. It is used for prefix matching.
12e41f4b71Sopenharmony_ci- **pathRegex**: regular expression of the directory or file path on the DNS. It is used for regular expression matching.
13e41f4b71Sopenharmony_ci- **linkFeature**: application's function type, such as file opening, sharing, and navigation. The value is a string with a maximum of 127 bytes.
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ciURIs can be expressed in different formats based on the available fields.
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ciThe following formats are possible when **scheme**, the combination of **scheme** and **host**, or the combination of **scheme**, **host**, and **port** is configured:
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ci- `scheme://`
20e41f4b71Sopenharmony_ci- `scheme://host`
21e41f4b71Sopenharmony_ci- `scheme://host:port`    
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ciWhen **path**, **pathStartWith**, or **pathRegex** is configured, the formats are as follows. If more than one of these three fields are configured and any field is matched, the matching result is true.
24e41f4b71Sopenharmony_ci
25e41f4b71Sopenharmony_ci- **Full path expression**: scheme://host:port/path
26e41f4b71Sopenharmony_ci- **Prefix expression**: scheme://host:port/pathStartWith
27e41f4b71Sopenharmony_ci- **Regular expression**: scheme://host:port/pathRegex
28e41f4b71Sopenharmony_ci
29e41f4b71Sopenharmony_ci> **NOTE**
30e41f4b71Sopenharmony_ci> 
31e41f4b71Sopenharmony_ci> If multiple applications are configured with the same URLs, these applications will be matched during application redirection, and a dialog box will be displayed for uses to select. For better user experience, you can use the **path** field to distinguish the application to start. For example, use **https://www.example.com/path1** to start target application 1 and use **https://www.example.com/path2** to start target application 2.
32e41f4b71Sopenharmony_ci
33e41f4b71Sopenharmony_ci## Description of linkFeature
34e41f4b71Sopenharmony_ci
35e41f4b71Sopenharmony_ciThe use of the **linkFeature** field enables an application to deliver a more user-friendly redirection experience. (The declaration of the **linkFeature** field must be reviewed by the application market before being released.) The use scenarios are as follows:
36e41f4b71Sopenharmony_ci
37e41f4b71Sopenharmony_ci1. Identification of applications of the same type: When the caller starts a vertical application (for example, navigation applications), the system identifies the matched applications based on the **linkFeature** field and displays the applications on the vertical domain panel.
38e41f4b71Sopenharmony_ci
39e41f4b71Sopenharmony_ci    |Value|Description|
40e41f4b71Sopenharmony_ci    |---|---|
41e41f4b71Sopenharmony_ci    |AppStorageMgmt|Clears cache data in the application sandbox directory.|
42e41f4b71Sopenharmony_ci    |FileOpen|Opens a file.|
43e41f4b71Sopenharmony_ci    |Navigation|Provides navigation.|
44e41f4b71Sopenharmony_ci    |RoutePlan|Plans a route.|
45e41f4b71Sopenharmony_ci    |PlaceSerach|Searches a location.|
46e41f4b71Sopenharmony_ci
47e41f4b71Sopenharmony_ci2. One-touch return: When a user switches from application A to application B, application B calls the [quick return API](../reference/apis-ability-kit/js-apis-inner-application-uiAbilityContext.md#uiabilitycontextbacktocallerabilitywithresult12) to return to application A. For example, if application A is redirected to the payment page of application B and application B has applied for the linkfeature of payment, the user can return to application A at one touch after finishing the payment in application B.
48e41f4b71Sopenharmony_ci
49e41f4b71Sopenharmony_ci    |Value|Description|
50e41f4b71Sopenharmony_ci    |---|---|
51e41f4b71Sopenharmony_ci    |Login|Common login and authorized login.|
52e41f4b71Sopenharmony_ci    |Pay|Payment and cashier.|
53e41f4b71Sopenharmony_ci    |Share|Sharing.|
54e41f4b71Sopenharmony_ci
55e41f4b71Sopenharmony_ci## Example
56e41f4b71Sopenharmony_ci
57e41f4b71Sopenharmony_ci
58e41f4b71Sopenharmony_ciThe following uses the authorized login scenario as an example:
59e41f4b71Sopenharmony_ci
60e41f4b71Sopenharmony_ci```json
61e41f4b71Sopenharmony_ci"uris": [
62e41f4b71Sopenharmony_ci    {
63e41f4b71Sopenharmony_ci        "scheme": "https",
64e41f4b71Sopenharmony_ci        "host": "developer.huawei.com",
65e41f4b71Sopenharmony_ci        "path": "consumer",
66e41f4b71Sopenharmony_ci        "linkFeature": "Login"  
67e41f4b71Sopenharmony_ci    }
68e41f4b71Sopenharmony_ci]
69e41f4b71Sopenharmony_ci```
70