Rename a Git repository folder
put/destinations/{destinationName}/gitFolders
Rename a Git repository folder.
1{2 "creationTimeStamp": "0001-01-01T00:00:00Z,",3 "modifiedTimeStamp": "2024-07-29T17:38:21Z",4 "id": "example_folder,",5 "name": "example_folder,",6 "links": [7 {8 "method": "GET",9 "rel": "up",10 "href": "/modelPublish/destinations/gitDestNew/gitFolders,",11 "uri": "/modelPublish/destinations/gitDestNew/gitFolders,",12 "type": "application/vnd.sas.collection"13 },14 {15 "method": "GET",16 "rel": "self",17 "href": "/modelPublish/destinations/gitDestNew/gitFolders/example_folder,",18 "uri": "/modelPublish/destinations/gitDestNew/gitFolders/example_folder,",19 "type": "application/vnd.sas.models.publishing.destination.folder"20 },21 {22 "method": "POST,",23 "rel": "createGitFolder,",24 "href": "/modelPublish/destinations/gitDestNew/gitFolders/example_folder,",25 "uri": "/modelPublish/destinations/gitDestNew/gitFolders/example_folder,",26 "type": "application/vnd.sas.models.publishing.destination.folder"27 }28 ]29}
Contains information about a Git repository folder.
Name | Type | Required | Description |
---|---|---|---|
id | string | true | The ID of the Git repository folder. |
name | string | true | The name of the Git repository folder. |
newName | string | true | The new name of the Git repository folder. |
parentFolder | string | false | The name of the parent Git repository folder. |
Status | Meaning | Description | ||
---|---|---|---|---|
201 | Created | The Git repository folder was renamed. | Headers | Schema |
400 | Bad Request | The request was invalid. | Schema |