# System URLs

Some API entities (e.g. [CMS Page Components](doc-341711#components) allow to define a relation to another entity according to internal URL schemes.

Defining the relation this way establishes a permalink - actual URL is generated on the fly (for example, when presenting the content to end users) according to current configuration.

## URL Schemes List

| URL Scheme                                       | Description  |
| ---                                              | ------------ |
| `website://page{?id}`                            | [Website Page](doc-341642#website-page) |
| `website://article{?id,slug}`                    | [Website Article](doc-341642#article) |
| `website://event{?id,slug}`                      | [Website Event](doc-341642#event) |
| `website://job{?id,slug}`                        | [Website Job](doc-341642#job) |
| `website://store{?id,slug}`                      | [Website Store](doc-341642#store) |
| `website://promotion{?id}`                       | [Website Promotion](doc-341642#promotion) |
| `website://service_page?service=home_page`       | [Website Home Page](doc-341642#home-page) |
| `website://service_page?service=articles_list`   | [Website Articles List](doc-341642#articles-list) |
| `website://service_page?service=events_list`     | [Website Events List](doc-341642#events-list) |
| `website://service_page?service=jobs_list`       | [Website Jobs List](doc-341642#jobs-list) |
| `website://service_page?service=stores_list`     | [Website Stores List](doc-341642#stores-list) |
| `website://service_page?service=promotions_list` | [Website Promotions List](doc-341642#promotions-list) |


## Website Page    

```
website://page{?id}
```

Example: `website://page?=5`<br />
Example output: `welcome`

Returns URL configured for this [Page](doc-341710#page-model).

## Website entities

### Article

```
website://article{?id,slug}
```

Example: `website://article?id=5&slug=awesome`<br />
Example output: `articles/5-awesome`

Returns URL configured for [Page](doc-341710#page-model) 
labeled with `article_page` [Service](doc-341710#service-pages),
identified by ID and, optionally, by slug.

### Event

```
website://event{?id,slug}
```

Example: `website://event?id=5&slug=awesome`<br />
    
Returns URL configured for [Page](doc-341710#page-model) 
labeled with `event_page` [Service](doc-341710#service-pages),
identified by ID and, optionally, by slug.

Example output: `events/5-awesome`.

### Job Posting

```
website://job{?id,slug}
```

Example: `website://job?id=5&slug=awesome`<br />
Example output: `jobs/5-awesome`

Returns URL configured for [Page](doc-341710#page-model) 
labeled with `job_page` [Service](doc-341710#service-pages),
identified by ID and, optionally, by slug.
        
### Store

```
website://store{?id,slug}
```

Example: `website://store?id=5&slug=awesome`<br />
Example output: `stores/5-awesome`

Returns URL configured for [Page](doc-341710#page-model) 
labeled with `store_page` [Service](doc-341710#service-pages),
identified by ID and, optionally, by slug.
        
### Promotion

```
website://promotion{?id}
```

Example: `website://promotion?id=5`<br />
Example output: `promotions/5`

Returns URL configured for [Page](doc-341710#page-model) 
labeled with `promotion_page` [Service](doc-341710#service-pages),
identified by ID and slug (for decoration).

## Website Service Pages

### Home Page

```
website://service_pages?service=home_page
```

Example output: `home`

Returns URL configured for [Page](doc-341710#page-model) 
labeled with `home_page` [Service](doc-341710#service-pages)

### Articles List

```
website://service_pages?service=articles_list
```

Example output: `articles`

Returns URL configured for [Page](doc-341710#page-model) 
labeled with `articles_list` [Service](doc-341710#service-pages)

### Events List

```
website://service_pages?service=events_list
```

Example output: `events`

Returns URL configured for [Page](doc-341710#page-model) 
labeled with `events_list` [Service](doc-341710#service-pages)

### Jobs List

```
website://service_pages?service=jobs_list
```

Example output: `jobs`

Returns URL configured for [Page](doc-341710#page-model) 
labeled with `jobs_list` [Service](doc-341710#service-pages)

### Stores List

```
website://service_pages?service=stores_list
```

Example output: `stores`

Returns URL configured for [Page](doc-341710#page-model) 
labeled with `stores_list` [Service](doc-341710#service-pages)

### Promotions List

```
website://service_pages?service=promotions_list
```

Example output: `promotions`

Returns URL configured for [Page](doc-341710#page-model) 
labeled with `promotions_list` [Service](doc-341710#service-pages)