summaryrefslogtreecommitdiff
path: root/doc/api/search.md
diff options
context:
space:
mode:
authorJarka Kadlecová <jarka@gitlab.com>2018-02-13 13:41:35 +0100
committerJarka Kadlecová <jarka@gitlab.com>2018-02-14 09:00:26 +0100
commitb0b4ae1875529cd7ca786bd5eccd49be9a40a038 (patch)
treee431498a102e05c4371d5be4e2430b91df01cb16 /doc/api/search.md
parentbf5e617a10e8df48ff78442f42f2cd6e47f59072 (diff)
downloadgitlab-ce-b0b4ae1875529cd7ca786bd5eccd49be9a40a038.tar.gz
API - Include project in commits&blobs search results
Diffstat (limited to 'doc/api/search.md')
-rw-r--r--doc/api/search.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/api/search.md b/doc/api/search.md
index 1fba9c3fbb8..d441b556186 100644
--- a/doc/api/search.md
+++ b/doc/api/search.md
@@ -737,7 +737,8 @@ Example response:
"filename": "home.md",
"id": null,
"ref": "master",
- "startline": 5
+ "startline": 5,
+ "project_id": 6
}
]
```
@@ -767,7 +768,8 @@ Example response:
"authored_date": "2013-02-18T22:02:54.000Z",
"committer_name": "angus croll",
"committer_email": "anguscroll@gmail.com",
- "committed_date": "2013-02-18T22:02:54.000Z"
+ "committed_date": "2013-02-18T22:02:54.000Z",
+ "project_id": 6
}
]
```
@@ -789,7 +791,8 @@ Example response:
"filename": "README.md",
"id": null,
"ref": "master",
- "startline": 46
+ "startline": 46,
+ "project_id": 6
}
]
```