[ROOT] / doc / DocFrag / ARCAPI.BaseController.GetFormatAndAdjustRequest
| Key | Value | 
|---|---|
| Assembly | ARCAPI | 
| DocFragType | ClassMember | 
| IsInherited | -False- | 
| IsInheritedDoc | -False- | 
| Lines | -11- | 
| Name | GetFormatAndAdjustRequest | 
| Namespace | ARCAPI | 
| Type | BaseController | 
ClassMemberAttribute
| Key | Value | 
|---|---|
| DeclaringType | BaseController | 
| MethodName | GetFormatAndAdjustRequest | 
| MethodSignature | System.ValueTuple`2[ARCAPI.ResponseFormat,System.Int32] GetFormatAndAdjustRequest(System.Collections.Generic.List`1[System.String] ByRef) | 
Decides ResponseFormat (like HTML, JSON, CSV, PDF and so on).
For Requests ending with /.html HTML-format is assumed, for .json JSON is assumed and so on.
Default format is HTML.
.json may be given as .json{depth} indicating to which depth the serialization mechanism should work. 1 is default.
If a format is specified (as the end-item in the request item list) then that corresponding item is removed from list.
TODO: Improve this, especially the index.html-part which is not generic
Generated 2025-10-31 17:26:59.795 UTC