---
# System prepended metadata

title: Untitled

---

URLS: that returns HTML response: 


### Uncief Admin Routes



### List of HTML Responses 
| id  | URL                              | Request-Source | Method | Authorized           | Note                     |
| --- | -------------------------------- | -------------- | ------ | -------------------- | -------------------- |
| 1   | `admin.newsy.com/`               | Admin          | GET    | NO                   |                   login view | 
| 2   | `admin.newsy.com/`               | Admin          | POST   | YES                  |                      CRA bundle|
| 5    |  `/`|  User       |  GET                    |  NO                    | Home Page
| 7    |  `/articles` |  User       |  GET      |  No | Aricles-Page
| 3   | `/articles/article-title-example` | User and Admin | GET    | YES if not published | article page HTML |
| 6    |  `/inquires` |  User       |  GET      |  NO                    | Inquries-Page
| 4   | `/inquires/question-example-`      | User           | GET      | NO | inqury-page
| 6    |  `/polls` |  User       |  GET      |  NO                    | polls -page|
| 4   | `/polls/question-example-`      | User           | GET      | No | poll-page
| 4   | `/users/id-user-example-`      | User           | GET      | No, if template(can be filled later by API). | user profile, returns template, then client-side send REST API to check-auth/get user data




### LIST of Restful API 
HTML_id|Source | Respond | URL |Type|Request-Content|Respond-Content
----------|------------ | -------------|----------|------------ | -------------|----------
2|NextJS-Server|JSON|`/article/:id`|GET|Cookies,should be to determie if admin|JSON article or unautrhoized
null|Admin-Client | JSON| `/get-articles`|GET|Admin-Org ids|List the last 10 articles
null|Admin-Client | JSON| `/create-article/`|POST|Article-Props|Success-code and article-id
null|Admin-Client | JSON| `/update-article/id`|POST|Article-Props|Succes-code and article-id
null|Admin-Client | JSON| `/publish-article/id`|POST|article-id|success-code and public Article-url


