Get a list of Git repository folders

get/destinations/{destinationName}/gitFolders
Internal-Use Only

Returns a list of Git repository folders for the specified destination.

Request Samples

1

Response Samples

1{
2 "accept": "application/vnd.sas.collection",
3 "limit": 100,
4 "name": "GitFolders,",
5 "items": [
6 {
7 "creationTimeStamp": "0001-01-01T00:00:00Z,",
8 "modifiedTimeStamp": "2024-07-29T17:48:00Z",
9 "id": "20231222,",
10 "name": "20231222,",
11 "links": [
12 {
13 "method": "GET,",
14 "rel": "up,",
15 "href": "/modelPublish/destinations/gitDestNew/gitFolders,",
16 "uri": "/modelPublish/destinations/gitDestNew/gitFolders,",
17 "type": "application/vnd.sas.collection"
18 },
19 {
20 "method": "GET,",
21 "rel": "self,",
22 "href": "/modelPublish/destinations/gitDestNew/gitFolders/20231222,",
23 "uri": "/modelPublish/destinations/gitDestNew/gitFolders/20231222,",
24 "type": "application/vnd.sas.models.publishing.destination.folder"
25 },
26 {
27 "method": "GET,",
28 "rel": "getGitSubFolders,",
29 "href": "/modelPublish/destinations/gitDestNew/gitFolders?parentFolder=20231222,",
30 "uri": "/modelPublish/destinations/gitDestNew/gitFolders?parentFolder=20231222,",
31 "type": "application/vnd.sas.collection"
32 },
33 {
34 "method": "POST,",
35 "rel": "createGitFolder,",
36 "href": "/modelPublish/destinations/gitDestNew/gitFolders?parentFolder=20231222,",
37 "uri": "/modelPublish/destinations/gitDestNew/gitFolders?parentFolder=20231222,",
38 "type": "application/vnd.sas.models.publishing.destination.folder"
39 }
40 ]
41 }
42 ],
43 "links": [
44 {
45 "method": "GET,",
46 "rel": "collection,",
47 "href": "/modelPublish/destinations/gitDestNew/gitFolders,",
48 "uri": "/modelPublish/destinations/gitDestNew/gitFolders,",
49 "type": "application/vnd.sas.collection,",
50 "itemType": "application/vnd.sas.models.publishing.destination.folder"
51 },
52 {
53 "method": "GET,",
54 "rel": "up,",
55 "href": "/modelPublish/destinations/gitDestNew,",
56 "uri": "/modelPublish/destinations/gitDestNew,",
57 "type": "application/vnd.sas.models.publishing.destination"
58 },
59 {
60 "method": "GET,",
61 "rel": "self,",
62 "href": "/modelPublish/destinations/gitDestNew/gitFolders?start=0&limit=100,",
63 "uri": "/modelPublish/destinations/gitDestNew/gitFolders?start=0&limit=100,",
64 "type": "application/vnd.sas.collection,",
65 "itemType": "application/vnd.sas.models.publishing.destination.folder"
66 },
67 {
68 "method": "POST,",
69 "rel": "createGitFolder,",
70 "href": "/modelPublish/destinations/gitDestNew/gitFolders,",
71 "uri": "/modelPublish/destinations/gitDestNew/gitFolders,",
72 "type": "application/vnd.sas.models.publishing.destination.folder,",
73 "responseType": "application/vnd.sas.models.publishing.destination.folder"
74 }
75 ]
76}

Path Parameters

NameTypeRequiredDescription
destinationName
string
true

The name of the destination.

Responses

StatusMeaningDescription
200OKThe request succeeded.Schema