Skip to content

Commit

Permalink
Fixed #307 More webapi documentation / samples
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Sep 3, 2017
1 parent 8c04e4f commit f1b0e8a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions src/Exceptionless.Api/Controllers/EventController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,16 @@ await _eventPostQueue.EnqueueAsync(new EventPostInfo {
/// <code>
/// { "message": "Exceptionless is amazing!" }
/// </code>
///
/// Simple log event with user identity:
/// <code>
/// {
/// "type": "log",
/// "message": "Exceptionless is amazing!",
/// "date":"2020-01-01T12:00:00.0000000-05:00",
/// "@user":{ "identity":"123456789", "name": "Test User" }
/// }
/// </code>
///
/// Multiple events from string content:
/// <code>
Expand All @@ -847,6 +857,7 @@ await _eventPostQueue.EnqueueAsync(new EventPostInfo {
/// <code>
/// {
/// "type": "error",
/// "date":"2020-01-01T12:00:00.0000000-05:00",
/// "@simple_error": {
/// "message": "Simple Exception",
/// "type": "System.Exception",
Expand Down
4 changes: 2 additions & 2 deletions src/Exceptionless.Api/Exceptionless.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
</NuGetPackageImportStamp>
<UseGlobalApplicationHostFile />
<TargetFrameworkProfile />
<Use64BitIISExpress />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -145,8 +146,7 @@
<HintPath>..\..\packages\Stripe.net.10.2.0\lib\net45\Stripe.net.dll</HintPath>
</Reference>
<Reference Include="Swashbuckle.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd1bb07a5ac7c7bc, processorArchitecture=MSIL">
<HintPath>..\..\packages\Swashbuckle.Core.5.5.3\lib\net40\Swashbuckle.Core.dll</HintPath>
<Private>True</Private>
<HintPath>..\..\packages\Swashbuckle.Core.5.6.0\lib\net40\Swashbuckle.Core.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Collections.Immutable, Version=1.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptionless.Api/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
<package id="SimpleInjector" version="4.0.8" targetFramework="net461" />
<package id="SimpleInjector.Integration.WebApi" version="4.0.8" targetFramework="net461" />
<package id="Stripe.net" version="10.2.0" targetFramework="net461" />
<package id="Swashbuckle.Core" version="5.5.3" targetFramework="net461" />
<package id="Swashbuckle.Core" version="5.6.0" targetFramework="net461" />
<package id="System.Collections.Immutable" version="1.3.1" targetFramework="net461" />
</packages>

0 comments on commit f1b0e8a

Please sign in to comment.