Skip to content
This repository was archived by the owner on Feb 12, 2019. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
e2c8f0b
Added support for ParentProject and Projects inside a Project
mavezeau Dec 12, 2013
de51ece
Added support to Create, move, copy a project, Support to get the art…
mavezeau Dec 16, 2013
4620e02
Changed Json encoder to use lowercase
nheilbuth Jan 7, 2014
cebb925
Changed Post<T> method to accept object as data, to utilize jsonEncoder
nheilbuth Jan 7, 2014
1984470
Changed Projects.Create method to use Json and NewProjectDescription
nheilbuth Jan 7, 2014
4eb1f06
Added NewProjectDescription and added Project.Create with parent project
nheilbuth Jan 7, 2014
787670d
Changed ParentProjectWrapper to produce correct Json data
nheilbuth Jan 7, 2014
a64c02b
Changed lowercase serialization to camelcase
nheilbuth Jan 7, 2014
a1b41a2
Added GenerateId from mavezeau's pull request #60
nheilbuth Jan 7, 2014
2b61a16
Added options to include/not include disconnected and unauthorized ag…
nheilbuth Jan 10, 2014
2ccd8da
Added Build.ById method
nheilbuth Jan 10, 2014
794bdfe
Sync nheilbuth
mavezeau Jan 20, 2014
659d9a0
Added missing update
mavezeau Jan 20, 2014
daef148
Added support for BuildArtifactDependencies and BuildArtifactDependen…
mavezeau Jan 20, 2014
df6796f
Changed post and put to use data object instead of data.ToString
nheilbuth Feb 3, 2014
e822d19
TITLE: Modify the method DownloadFiltered to use the filename and no…
mavezeau Feb 17, 2014
bdbc64a
Added direct support for setting artifact dependencies, snapshot depe…
nheilbuth Feb 25, 2014
a46360c
Adjustments to json output of artifactdependencies, snapshotdependenc…
nheilbuth Feb 25, 2014
5440a71
Merge pull request #74 from SCTHO/master
stack72 May 6, 2014
0c773ee
Implement statistics for builds
ewilde Aug 19, 2014
cc2f0d4
Adde method inside BuildConfigs
mavezeau Aug 29, 2014
082c8ef
Merge remote-tracking branch 'remotes/upstream/pr/82'
mavezeau Aug 29, 2014
330f44b
Keep backwork compatibility fonction
mavezeau Aug 29, 2014
1437343
Fixed snapshot dependency property types
nheilbuth Jul 14, 2015
e9e772c
Commit new stock
mavezeau Nov 6, 2015
1ad50e9
Added new support of investigation and test
mavezeau Nov 9, 2015
43d578f
Introduce new GetFields method for choose needed fields on a query.
mavezeau Jan 26, 2016
9241537
Merge
mavezeau Jan 26, 2016
4eb5135
Bad merge ...
mavezeau Jan 26, 2016
23c8647
Fix
mavezeau Jan 26, 2016
a30b74a
Try to fix merge...
mavezeau Jan 26, 2016
5054fab
Merge branch 'master' of https://github.com/mavezeau/TeamCitySharp
mavezeau Jan 26, 2016
61b97d4
Merge branch 'master' of https://github.com/nheilbuth/TeamCitySharp
mavezeau Jan 26, 2016
2de2fac
Cleanup code ...
mavezeau Jan 26, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changed Post<T> method to accept object as data, to utilize jsonEncoder
  • Loading branch information
nheilbuth committed Jan 7, 2014
commit cebb92553ca6b93c456edefe539caf3b3b3adb06
2 changes: 1 addition & 1 deletion src/TeamCitySharp/Connection/ITeamCityCaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ internal interface ITeamCityCaller

void Get(string urlPart);

T Post<T>(string data, string contenttype, string urlPart, string accept);
T Post<T>(object data, string contenttype, string urlPart, string accept);

bool Authenticate(string urlPart);

Expand Down
2 changes: 1 addition & 1 deletion src/TeamCitySharp/Connection/TeamCityCaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ private HttpResponse GetResponse(string urlPart)
return response;
}

public T Post<T>(string data, string contenttype, string urlPart, string accept)
public T Post<T>(object data, string contenttype, string urlPart, string accept)
{
return Post(data, contenttype, urlPart, accept).StaticBody<T>();
}
Expand Down