判決資料

民事:https://bit.ly/45wt6MZ
刑事:https://bit.ly/3svsRTL
行政:https://bit.ly/3OZWYdw
憲法:https://bit.ly/3P5jMY5
懲戒:https://bit.ly/44yriSv

後端API

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
後端API相對路徑

【專案設定】

1. 新增專案 (專案設定, managers用user_mail帶入)

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
PATH:
\2023_law_hackathon\Anno_Law_API\ProjectController.py
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
API:
http://localhost:5000/CreateProject/true/Hackathon/2023-08-01/2023-08-06/ttt@gmail.com/hhh@gmail.com, kk@gmail.com
(註:isPublic=true, pro_name=Hackathon, start_time=2023-08-01, start_time=2023-08-06, managers=ttt@gmail.com, members=hhh@gmail.com, kk@gmail.com)

url: POST /projects/
body: {
    isPublic=true
    name=Hackathon
    start_time=2023-08-01
    end_time=2023-08-06
    managers="ttt@gmail.com" (string? array?)
    members="ttt@gmail.com" (string? array?)
}
response: {
    
}

2. 刪除專案

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
PATH:
\2023_law_hackathon\Anno_Law_API\ProjectController.py
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
API:
http://localhost:5000/deleteByID/5
(註:pro_id=1)

url: DELETE /projects/{project_id}
:::```


### 3. 查詢專案ALL list
:black_medium_small_square: PATH: 
:black_medium_small_square: API: 
:::danger
```json
url: GET /projects/
params: {
    
}
response: {
    
}

4. 刪除專案 (上面已有?)

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
PATH:
\2023_law_hackathon\Anno_Law_API\ProjectController.py
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
API:
http://localhost:5000/RetrieveProjects

5. by pro_name 查詢專案 (可與 Project List 並同一隻)

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
PATH:
\2023_law_hackathon\Anno_Law_API\ProjectController.py
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
API:
http://localhost:5000/RetrieveProjectByName/測試專案
(註:pro_name=測試專案)

6. by pro_id 查詢專案

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
PATH:
\2023_law_hackathon\Anno_Law_API\ProjectController.py
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
API:
http://localhost:5000/RetrieveProjectByID/1
(註:pro_id=1)

url: GET /projects/{project_id}
response: {
    
}

【標記設定】

1. 新增變相

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
PATH:
\2023_law_hackathon\Anno_Law_API\QuestionController.py
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
API:
http://localhost:5000/CreateQuestion/1/連續變相/是否勝訴/判決書最終結果/[]
(註:pro_id=1 & var_type=連續變相 & issue=是否勝訴 & description=判決書最終結果 & options=[])

url: POST /questions/
body: {
    project_id
    var_type
    issue
    description
    options
}
response: {
    
}

2. 查詢專案(by pro_id)相關變相

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
PATH:
\2023_law_hackathon\Anno_Law_API\QuestionController.py
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
API:
http://localhost:5000/RetrieveQuestionByID/1
(註:pro_id=1)

url: GET /questions/
params: {
    project_id
}
response: {
    
}

3. 刪除變相(by pro_id + q_id)

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
PATH:
\2023_law_hackathon\Anno_Law_API\QuestionController.py
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
API:
http://localhost:5000/deleteByID/1/5
(註:pro_id=1 & q_id=5)

url: DELETE /questions/{question_id}
params: {
    project_id
}
response: {
    
}

【判決書總覽】

1. 查詢ALL判決書列表

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
PATH:
\2023_law_hackathon\Anno_Law_API\JudgementController.py
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
API:
http://localhost:5000/readJugList

url: GET /judgements/
params: {

}
response: {
    
}

2. by id查詢判決書內容

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
PATH:
\2023_law_hackathon\Anno_Law_API\JudgementController.py
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
API:
http://localhost:5000/RetrieveJudge/6
(註:j_id=6)

url: GET /judgements/{judgement_id}
response: {
    
}

【登入】

1. 註冊帳號

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
PATH:
\2023_law_hackathon\Anno_Law_API\AnnouserController.py
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
API:
http://localhost:5000/CreateUser/ttt/yyy/kkk@test.com
(註:username=ttt/password=yyy/email=kkk@test.com)

url: POST /auth/signup
body: {
    username
    password
    email
}
response: {
    
}

2. 登入驗證(by username搜尋有結果, 代表已經註冊)

url: POST /auth/login
body: {
    username
    password
}
response: {
    
}

以下未完成

(X)【加入判決書】

1. by id查詢判決書內容 & 標記題目/答案

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
PATH:
\2023_law_hackathon\Anno_Law_API\JudgementController.py
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
API:
http://localhost:5000/RetrieveJudge/6
(註:j_id=6)

(X)【標記內容】

1. 新增判決書標記

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
PATH:
\2023_law_hackathon\Anno_Law_API\QuestionController.py
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
API:
http://localhost:5000/deleteByID/1/5
(註:pro_id=1 & q_id=5)

2. by id查詢判決書內容 & 標記題目/答案

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
PATH:
\2023_law_hackathon\Anno_Law_API\QuestionController.py
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
API:
http://localhost:5000/deleteByID/1/5
(註:pro_id=1 & q_id=5)

DB Schema

Select a repo