- Hands-On RESTful Web Services with TypeScript 3
- Biharck Muniz Araújo
- 85字
- 2021-07-02 12:19:22
Including the version in the URL
Including the version in the URL is an easy strategy for having the version number added at the end of the URI. Let's see how this is done:
https://api.domain.com/v1/
https://api.domain.com/v2/
https://api.domain.com/v3/
Basically, this model tells the consumers which API version they are using. Every breaking change increases the version number. One issue that may occur when the URI for a resource changes is that the resource may no longer be found with the old URI unless redirects are used.
推薦閱讀
- 電影中的精神病學(xué)
- 急性卒中機(jī)械取栓:現(xiàn)狀與經(jīng)驗(yàn)
- 腎病綜合征
- Building RESTful Web Services with Java EE 8
- 感染性疾病的檢驗(yàn)診斷(第2版)
- 心理障礙的疏導(dǎo)自助
- 實(shí)用皮膚病性病圖譜
- 乳腺、甲狀腺介入性超聲學(xué)
- 冠心病及急性心肌梗死中醫(yī)臨床辨證標(biāo)準(zhǔn)及防治指南
- 胎兒磁共振影像診斷學(xué)
- 腎移植
- 長(zhǎng)腿叔叔:孩子有話說(shuō)
- Learning Geospatial Analysis with Python
- 口腔科常見及多發(fā)病就醫(yī)指南系列:口腔頜面部腫瘤就醫(yī)指南
- 失眠的心理學(xué)干預(yù)