Skip to content

Latest commit

 

History

History
83 lines (50 loc) · 2.53 KB

AuditApi.md

File metadata and controls

83 lines (50 loc) · 2.53 KB

\AuditApi

All URIs are relative to https://teamcity.jetbrains.com

Method HTTP request Description
GetAllAuditEvents Get /app/rest/audit Get all audit events.
GetAuditEvent Get /app/rest/audit/{auditEventLocator} Get audit event matching the locator.

GetAllAuditEvents

AuditEvents GetAllAuditEvents(ctx, optional) Get all audit events.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *GetAllAuditEventsOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetAllAuditEventsOpts struct

Name Type Description Notes
locator optional.String
fields optional.String

Return type

AuditEvents

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/xml, application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetAuditEvent

AuditEvent GetAuditEvent(ctx, auditEventLocator, optional) Get audit event matching the locator.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
auditEventLocator string
optional *GetAuditEventOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetAuditEventOpts struct

Name Type Description Notes

fields | optional.String| |

Return type

AuditEvent

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/xml, application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]