2024-06-03 07:04:29 -07:00

61 lines
1.2 KiB
Markdown

---
type: "topic"
created: "2024-01-06T01:25:36.018Z"
updated: "2024-01-06T01:25:36.018Z"
---
# TFS APIS
```patch
https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_apis/wit/workitems/382290?api-version=7.0
```
```yaml
Authorization: Basic OnZvcnZrcTJybnU3Z3l6NTJiYnd2M29rZHF4aDR6NTNub2pqb3FiNWVobGF2eWw2dHlhdWE=
Content-Type: application/json-patch+json
```
```json
[
{
"op": "test",
"path": "/rev",
"value": 1
},
{
"op": "test",
"path": "/fields/System.CreatedDate",
"value": "2023-10-07T18:51:52.783Z"
},
{
"op": "replace",
"path": "/fields/System.CreatedDate",
"value": "2023-10-07T18:41:52.783Z"
}
]
```
```post
https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_apis/wit/workitems/382005/comments?api-version=5.1-preview.3
```
```yaml Chase
Authorization: Basic OmlkeXRjemxjZTJ1YWd6aXV1ZHkzMjRrd25oemlhYmc3c2NwcnBsbnJmd2FxM21leWZheHE=
Content-Type: application/json
```
```json
{
"text": "Force updated by"
}
```
```delete
https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_apis/wit/workitems/382005/comments?api-version=5.1-preview.3
```
```yaml Chase
Authorization: Basic OmlkeXRjemxjZTJ1YWd6aXV1ZHkzMjRrd25oemlhYmc3c2NwcnBsbnJmd2FxM21leWZheHE=
Content-Type: application/json
```