|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903 |
- # \RepositoryApi
-
- All URIs are relative to *http://localhost/api/v1*
-
- Method | HTTP request | Description
- ------------- | ------------- | -------------
- [**create_current_user_repo**](RepositoryApi.md#create_current_user_repo) | **Post** /user/repos | Create a repository
- [**create_fork**](RepositoryApi.md#create_fork) | **Post** /repos/{owner}/{repo}/forks | Fork a repository
- [**get_blob**](RepositoryApi.md#get_blob) | **Get** /repos/{owner}/{repo}/git/blobs/{sha} | Gets the blob of a repository.
- [**get_tag**](RepositoryApi.md#get_tag) | **Get** /repos/{owner}/{repo}/git/tags/{sha} | Gets the tag object of an annotated tag (not lightweight tags)
- [**get_tree**](RepositoryApi.md#get_tree) | **Get** /repos/{owner}/{repo}/git/trees/{sha} | Gets the tree of a repository.
- [**list_forks**](RepositoryApi.md#list_forks) | **Get** /repos/{owner}/{repo}/forks | List a repository's forks
- [**repo_add_collaborator**](RepositoryApi.md#repo_add_collaborator) | **Put** /repos/{owner}/{repo}/collaborators/{collaborator} | Add a collaborator to a repository
- [**repo_add_topc**](RepositoryApi.md#repo_add_topc) | **Put** /repos/{owner}/{repo}/topics/{topic} | Add a topic to a repository
- [**repo_check_collaborator**](RepositoryApi.md#repo_check_collaborator) | **Get** /repos/{owner}/{repo}/collaborators/{collaborator} | Check if a user is a collaborator of a repository
- [**repo_create_file**](RepositoryApi.md#repo_create_file) | **Post** /repos/{owner}/{repo}/contents/{filepath} | Create a file in a repository
- [**repo_create_hook**](RepositoryApi.md#repo_create_hook) | **Post** /repos/{owner}/{repo}/hooks | Create a hook
- [**repo_create_key**](RepositoryApi.md#repo_create_key) | **Post** /repos/{owner}/{repo}/keys | Add a key to a repository
- [**repo_create_pull_request**](RepositoryApi.md#repo_create_pull_request) | **Post** /repos/{owner}/{repo}/pulls | Create a pull request
- [**repo_create_release**](RepositoryApi.md#repo_create_release) | **Post** /repos/{owner}/{repo}/releases | Create a release
- [**repo_create_release_attachment**](RepositoryApi.md#repo_create_release_attachment) | **Post** /repos/{owner}/{repo}/releases/{id}/assets | Create a release attachment
- [**repo_create_status**](RepositoryApi.md#repo_create_status) | **Post** /repos/{owner}/{repo}/statuses/{sha} | Create a commit status
- [**repo_delete**](RepositoryApi.md#repo_delete) | **Delete** /repos/{owner}/{repo} | Delete a repository
- [**repo_delete_collaborator**](RepositoryApi.md#repo_delete_collaborator) | **Delete** /repos/{owner}/{repo}/collaborators/{collaborator} | Delete a collaborator from a repository
- [**repo_delete_file**](RepositoryApi.md#repo_delete_file) | **Delete** /repos/{owner}/{repo}/contents/{filepath} | Delete a file in a repository
- [**repo_delete_git_hook**](RepositoryApi.md#repo_delete_git_hook) | **Delete** /repos/{owner}/{repo}/hooks/git/{id} | Delete a Git hook in a repository
- [**repo_delete_hook**](RepositoryApi.md#repo_delete_hook) | **Delete** /repos/{owner}/{repo}/hooks/{id} | Delete a hook in a repository
- [**repo_delete_key**](RepositoryApi.md#repo_delete_key) | **Delete** /repos/{owner}/{repo}/keys/{id} | Delete a key from a repository
- [**repo_delete_release**](RepositoryApi.md#repo_delete_release) | **Delete** /repos/{owner}/{repo}/releases/{id} | Delete a release
- [**repo_delete_release_attachment**](RepositoryApi.md#repo_delete_release_attachment) | **Delete** /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Delete a release attachment
- [**repo_delete_topic**](RepositoryApi.md#repo_delete_topic) | **Delete** /repos/{owner}/{repo}/topics/{topic} | Delete a topic from a repository
- [**repo_edit**](RepositoryApi.md#repo_edit) | **Patch** /repos/{owner}/{repo} | Edit a repository's properties. Only fields that are set will be changed.
- [**repo_edit_git_hook**](RepositoryApi.md#repo_edit_git_hook) | **Patch** /repos/{owner}/{repo}/hooks/git/{id} | Edit a Git hook in a repository
- [**repo_edit_hook**](RepositoryApi.md#repo_edit_hook) | **Patch** /repos/{owner}/{repo}/hooks/{id} | Edit a hook in a repository
- [**repo_edit_pull_request**](RepositoryApi.md#repo_edit_pull_request) | **Patch** /repos/{owner}/{repo}/pulls/{index} | Update a pull request. If using deadline only the date will be taken into account, and time of day ignored.
- [**repo_edit_release**](RepositoryApi.md#repo_edit_release) | **Patch** /repos/{owner}/{repo}/releases/{id} | Update a release
- [**repo_edit_release_attachment**](RepositoryApi.md#repo_edit_release_attachment) | **Patch** /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Edit a release attachment
- [**repo_get**](RepositoryApi.md#repo_get) | **Get** /repos/{owner}/{repo} | Get a repository
- [**repo_get_all_commits**](RepositoryApi.md#repo_get_all_commits) | **Get** /repos/{owner}/{repo}/commits | Get a list of all commits from a repository
- [**repo_get_archive**](RepositoryApi.md#repo_get_archive) | **Get** /repos/{owner}/{repo}/archive/{archive} | Get an archive of a repository
- [**repo_get_branch**](RepositoryApi.md#repo_get_branch) | **Get** /repos/{owner}/{repo}/branches/{branch} | Retrieve a specific branch from a repository, including its effective branch protection
- [**repo_get_by_id**](RepositoryApi.md#repo_get_by_id) | **Get** /repositories/{id} | Get a repository by id
- [**repo_get_combined_status_by_ref**](RepositoryApi.md#repo_get_combined_status_by_ref) | **Get** /repos/{owner}/{repo}/commits/{ref}/statuses | Get a commit's combined status, by branch/tag/commit reference
- [**repo_get_contents**](RepositoryApi.md#repo_get_contents) | **Get** /repos/{owner}/{repo}/contents/{filepath} | Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir
- [**repo_get_contents_list**](RepositoryApi.md#repo_get_contents_list) | **Get** /repos/{owner}/{repo}/contents | Gets the metadata of all the entries of the root dir
- [**repo_get_editor_config**](RepositoryApi.md#repo_get_editor_config) | **Get** /repos/{owner}/{repo}/editorconfig/{filepath} | Get the EditorConfig definitions of a file in a repository
- [**repo_get_git_hook**](RepositoryApi.md#repo_get_git_hook) | **Get** /repos/{owner}/{repo}/hooks/git/{id} | Get a Git hook
- [**repo_get_hook**](RepositoryApi.md#repo_get_hook) | **Get** /repos/{owner}/{repo}/hooks/{id} | Get a hook
- [**repo_get_key**](RepositoryApi.md#repo_get_key) | **Get** /repos/{owner}/{repo}/keys/{id} | Get a repository's key by id
- [**repo_get_pull_request**](RepositoryApi.md#repo_get_pull_request) | **Get** /repos/{owner}/{repo}/pulls/{index} | Get a pull request
- [**repo_get_raw_file**](RepositoryApi.md#repo_get_raw_file) | **Get** /repos/{owner}/{repo}/raw/{filepath} | Get a file from a repository
- [**repo_get_release**](RepositoryApi.md#repo_get_release) | **Get** /repos/{owner}/{repo}/releases/{id} | Get a release
- [**repo_get_release_attachment**](RepositoryApi.md#repo_get_release_attachment) | **Get** /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Get a release attachment
- [**repo_get_single_commit**](RepositoryApi.md#repo_get_single_commit) | **Get** /repos/{owner}/{repo}/git/commits/{sha} | Get a single commit from a repository
- [**repo_list_all_git_refs**](RepositoryApi.md#repo_list_all_git_refs) | **Get** /repos/{owner}/{repo}/git/refs | Get specified ref or filtered repository's refs
- [**repo_list_branches**](RepositoryApi.md#repo_list_branches) | **Get** /repos/{owner}/{repo}/branches | List a repository's branches
- [**repo_list_collaborators**](RepositoryApi.md#repo_list_collaborators) | **Get** /repos/{owner}/{repo}/collaborators | List a repository's collaborators
- [**repo_list_git_hooks**](RepositoryApi.md#repo_list_git_hooks) | **Get** /repos/{owner}/{repo}/hooks/git | List the Git hooks in a repository
- [**repo_list_git_refs**](RepositoryApi.md#repo_list_git_refs) | **Get** /repos/{owner}/{repo}/git/refs/{ref} | Get specified ref or filtered repository's refs
- [**repo_list_hooks**](RepositoryApi.md#repo_list_hooks) | **Get** /repos/{owner}/{repo}/hooks | List the hooks in a repository
- [**repo_list_keys**](RepositoryApi.md#repo_list_keys) | **Get** /repos/{owner}/{repo}/keys | List a repository's keys
- [**repo_list_pull_requests**](RepositoryApi.md#repo_list_pull_requests) | **Get** /repos/{owner}/{repo}/pulls | List a repo's pull requests
- [**repo_list_release_attachments**](RepositoryApi.md#repo_list_release_attachments) | **Get** /repos/{owner}/{repo}/releases/{id}/assets | List release's attachments
- [**repo_list_releases**](RepositoryApi.md#repo_list_releases) | **Get** /repos/{owner}/{repo}/releases | List a repo's releases
- [**repo_list_stargazers**](RepositoryApi.md#repo_list_stargazers) | **Get** /repos/{owner}/{repo}/stargazers | List a repo's stargazers
- [**repo_list_statuses**](RepositoryApi.md#repo_list_statuses) | **Get** /repos/{owner}/{repo}/statuses/{sha} | Get a commit's statuses
- [**repo_list_subscribers**](RepositoryApi.md#repo_list_subscribers) | **Get** /repos/{owner}/{repo}/subscribers | List a repo's watchers
- [**repo_list_tags**](RepositoryApi.md#repo_list_tags) | **Get** /repos/{owner}/{repo}/tags | List a repository's tags
- [**repo_list_topics**](RepositoryApi.md#repo_list_topics) | **Get** /repos/{owner}/{repo}/topics | Get list of topics that a repository has
- [**repo_merge_pull_request**](RepositoryApi.md#repo_merge_pull_request) | **Post** /repos/{owner}/{repo}/pulls/{index}/merge | Merge a pull request
- [**repo_migrate**](RepositoryApi.md#repo_migrate) | **Post** /repos/migrate | Migrate a remote git repository
- [**repo_mirror_sync**](RepositoryApi.md#repo_mirror_sync) | **Post** /repos/{owner}/{repo}/mirror-sync | Sync a mirrored repository
- [**repo_pull_request_is_merged**](RepositoryApi.md#repo_pull_request_is_merged) | **Get** /repos/{owner}/{repo}/pulls/{index}/merge | Check if a pull request has been merged
- [**repo_search**](RepositoryApi.md#repo_search) | **Get** /repos/search | Search for repositories
- [**repo_signing_key**](RepositoryApi.md#repo_signing_key) | **Get** /repos/{owner}/{repo}/signing-key.gpg | Get signing-key.gpg for given repository
- [**repo_test_hook**](RepositoryApi.md#repo_test_hook) | **Post** /repos/{owner}/{repo}/hooks/{id}/tests | Test a push webhook
- [**repo_tracked_times**](RepositoryApi.md#repo_tracked_times) | **Get** /repos/{owner}/{repo}/times | List a repo's tracked times
- [**repo_update_file**](RepositoryApi.md#repo_update_file) | **Put** /repos/{owner}/{repo}/contents/{filepath} | Update a file in a repository
- [**repo_update_topics**](RepositoryApi.md#repo_update_topics) | **Put** /repos/{owner}/{repo}/topics | Replace list of topics for a repository
- [**topic_search**](RepositoryApi.md#topic_search) | **Get** /topics/search | search topics via keyword
- [**user_current_check_subscription**](RepositoryApi.md#user_current_check_subscription) | **Get** /repos/{owner}/{repo}/subscription | Check if the current user is watching a repo
- [**user_current_delete_subscription**](RepositoryApi.md#user_current_delete_subscription) | **Delete** /repos/{owner}/{repo}/subscription | Unwatch a repo
- [**user_current_put_subscription**](RepositoryApi.md#user_current_put_subscription) | **Put** /repos/{owner}/{repo}/subscription | Watch a repo
-
-
- # **create_current_user_repo**
- > ::models::Repository create_current_user_repo(ctx, ctx, ctx, ctx, ctx, ctx, optional)
- Create a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **body** | [**CreateRepoOption**](CreateRepoOption.md)| |
-
- ### Return type
-
- [**::models::Repository**](Repository.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **create_fork**
- > ::models::Repository create_fork(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
- Fork a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo to fork |
- **repo** | **String**| name of the repo to fork |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo to fork |
- **repo** | **String**| name of the repo to fork |
- **body** | [**CreateForkOption**](CreateForkOption.md)| |
-
- ### Return type
-
- [**::models::Repository**](Repository.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **get_blob**
- > ::models::GitBlobResponse get_blob(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, sha)
- Gets the blob of a repository.
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **sha** | **String**| sha of the commit |
-
- ### Return type
-
- [**::models::GitBlobResponse**](GitBlobResponse.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **get_tag**
- > ::models::AnnotatedTag get_tag(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, sha)
- Gets the tag object of an annotated tag (not lightweight tags)
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **sha** | **String**| sha of the tag. The Git tags API only supports annotated tag objects, not lightweight tags. |
-
- ### Return type
-
- [**::models::AnnotatedTag**](AnnotatedTag.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **get_tree**
- > ::models::GitTreeResponse get_tree(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, sha, optional)
- Gets the tree of a repository.
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **sha** | **String**| sha of the commit |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **sha** | **String**| sha of the commit |
- **recursive** | **bool**| show all directories and files |
- **page** | **i32**| page number; the 'truncated' field in the response will be true if there are still more items after this page, false if the last page |
- **per_page** | **i32**| number of items per page; default is 1000 or what is set in app.ini as DEFAULT_GIT_TREES_PER_PAGE |
-
- ### Return type
-
- [**::models::GitTreeResponse**](GitTreeResponse.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **list_forks**
- > Vec<::models::Repository> list_forks(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- List a repository's forks
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
-
- ### Return type
-
- [**Vec<::models::Repository>**](Repository.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_add_collaborator**
- > repo_add_collaborator(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, collaborator, optional)
- Add a collaborator to a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **collaborator** | **String**| username of the collaborator to add |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **collaborator** | **String**| username of the collaborator to add |
- **body** | [**AddCollaboratorOption**](AddCollaboratorOption.md)| |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_add_topc**
- > repo_add_topc(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, topic)
- Add a topic to a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **topic** | **String**| name of the topic to add |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_check_collaborator**
- > repo_check_collaborator(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, collaborator)
- Check if a user is a collaborator of a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **collaborator** | **String**| username of the collaborator |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_create_file**
- > ::models::FileResponse repo_create_file(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, filepath, body)
- Create a file in a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **filepath** | **String**| path of the file to create |
- **body** | [**CreateFileOptions**](CreateFileOptions.md)| |
-
- ### Return type
-
- [**::models::FileResponse**](FileResponse.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_create_hook**
- > ::models::Hook repo_create_hook(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
- Create a hook
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **body** | [**CreateHookOption**](CreateHookOption.md)| |
-
- ### Return type
-
- [**::models::Hook**](Hook.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_create_key**
- > ::models::DeployKey repo_create_key(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
- Add a key to a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **body** | [**CreateKeyOption**](CreateKeyOption.md)| |
-
- ### Return type
-
- [**::models::DeployKey**](DeployKey.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_create_pull_request**
- > ::models::PullRequest repo_create_pull_request(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
- Create a pull request
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **body** | [**CreatePullRequestOption**](CreatePullRequestOption.md)| |
-
- ### Return type
-
- [**::models::PullRequest**](PullRequest.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_create_release**
- > ::models::Release repo_create_release(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
- Create a release
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **body** | [**CreateReleaseOption**](CreateReleaseOption.md)| |
-
- ### Return type
-
- [**::models::Release**](Release.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_create_release_attachment**
- > ::models::Attachment repo_create_release_attachment(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, attachment, optional)
- Create a release attachment
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| id of the release |
- **attachment** | **File**| attachment to upload |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| id of the release |
- **attachment** | **File**| attachment to upload |
- **name** | **String**| name of the attachment |
-
- ### Return type
-
- [**::models::Attachment**](Attachment.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: multipart/form-data
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_create_status**
- > ::models::Status repo_create_status(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, sha, optional)
- Create a commit status
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **sha** | **String**| sha of the commit |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **sha** | **String**| sha of the commit |
- **body** | [**CreateStatusOption**](CreateStatusOption.md)| |
-
- ### Return type
-
- [**::models::Status**](Status.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_delete**
- > repo_delete(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- Delete a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo to delete |
- **repo** | **String**| name of the repo to delete |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_delete_collaborator**
- > repo_delete_collaborator(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, collaborator)
- Delete a collaborator from a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **collaborator** | **String**| username of the collaborator to delete |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_delete_file**
- > ::models::FileDeleteResponse repo_delete_file(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, filepath, body)
- Delete a file in a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **filepath** | **String**| path of the file to delete |
- **body** | [**DeleteFileOptions**](DeleteFileOptions.md)| |
-
- ### Return type
-
- [**::models::FileDeleteResponse**](FileDeleteResponse.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_delete_git_hook**
- > repo_delete_git_hook(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id)
- Delete a Git hook in a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **String**| id of the hook to get |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_delete_hook**
- > repo_delete_hook(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id)
- Delete a hook in a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| id of the hook to delete |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_delete_key**
- > repo_delete_key(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id)
- Delete a key from a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| id of the key to delete |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json, text/html
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_delete_release**
- > repo_delete_release(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id)
- Delete a release
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| id of the release to delete |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json, text/html
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_delete_release_attachment**
- > repo_delete_release_attachment(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, attachment_id)
- Delete a release attachment
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| id of the release |
- **attachment_id** | **i64**| id of the attachment to delete |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_delete_topic**
- > repo_delete_topic(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, topic)
- Delete a topic from a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **topic** | **String**| name of the topic to delete |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_edit**
- > ::models::Repository repo_edit(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
- Edit a repository's properties. Only fields that are set will be changed.
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo to edit |
- **repo** | **String**| name of the repo to edit |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo to edit |
- **repo** | **String**| name of the repo to edit |
- **body** | [**EditRepoOption**](EditRepoOption.md)| Properties of a repo that you can edit |
-
- ### Return type
-
- [**::models::Repository**](Repository.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_edit_git_hook**
- > ::models::GitHook repo_edit_git_hook(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, optional)
- Edit a Git hook in a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **String**| id of the hook to get |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **String**| id of the hook to get |
- **body** | [**EditGitHookOption**](EditGitHookOption.md)| |
-
- ### Return type
-
- [**::models::GitHook**](GitHook.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_edit_hook**
- > ::models::Hook repo_edit_hook(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, optional)
- Edit a hook in a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| index of the hook |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| index of the hook |
- **body** | [**EditHookOption**](EditHookOption.md)| |
-
- ### Return type
-
- [**::models::Hook**](Hook.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_edit_pull_request**
- > ::models::PullRequest repo_edit_pull_request(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, optional)
- Update a pull request. If using deadline only the date will be taken into account, and time of day ignored.
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **index** | **i64**| index of the pull request to edit |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **index** | **i64**| index of the pull request to edit |
- **body** | [**EditPullRequestOption**](EditPullRequestOption.md)| |
-
- ### Return type
-
- [**::models::PullRequest**](PullRequest.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_edit_release**
- > ::models::Release repo_edit_release(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, optional)
- Update a release
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| id of the release to edit |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| id of the release to edit |
- **body** | [**EditReleaseOption**](EditReleaseOption.md)| |
-
- ### Return type
-
- [**::models::Release**](Release.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_edit_release_attachment**
- > ::models::Attachment repo_edit_release_attachment(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, attachment_id, optional)
- Edit a release attachment
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| id of the release |
- **attachment_id** | **i64**| id of the attachment to edit |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| id of the release |
- **attachment_id** | **i64**| id of the attachment to edit |
- **body** | [**EditAttachmentOptions**](EditAttachmentOptions.md)| |
-
- ### Return type
-
- [**::models::Attachment**](Attachment.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get**
- > ::models::Repository repo_get(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- Get a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
-
- ### Return type
-
- [**::models::Repository**](Repository.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get_all_commits**
- > Vec<::models::Commit> repo_get_all_commits(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
- Get a list of all commits from a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **sha** | **String**| SHA or branch to start listing commits from (usually 'master') |
- **page** | **i32**| page number of requested commits |
-
- ### Return type
-
- [**Vec<::models::Commit>**](Commit.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get_archive**
- > repo_get_archive(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, archive)
- Get an archive of a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **archive** | **String**| archive to download, consisting of a git reference and archive |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get_branch**
- > ::models::Branch repo_get_branch(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, branch)
- Retrieve a specific branch from a repository, including its effective branch protection
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **branch** | **String**| branch to get |
-
- ### Return type
-
- [**::models::Branch**](Branch.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get_by_id**
- > ::models::Repository repo_get_by_id(ctx, ctx, ctx, ctx, ctx, ctx, id)
- Get a repository by id
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **id** | **i64**| id of the repo to get |
-
- ### Return type
-
- [**::models::Repository**](Repository.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get_combined_status_by_ref**
- > ::models::Status repo_get_combined_status_by_ref(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, _ref, optional)
- Get a commit's combined status, by branch/tag/commit reference
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **_ref** | **String**| name of branch/tag/commit |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **_ref** | **String**| name of branch/tag/commit |
- **page** | **i32**| page number of results |
-
- ### Return type
-
- [**::models::Status**](Status.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get_contents**
- > ::models::ContentsResponse repo_get_contents(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, filepath, optional)
- Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **filepath** | **String**| path of the dir, file, symlink or submodule in the repo |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **filepath** | **String**| path of the dir, file, symlink or submodule in the repo |
- **_ref** | **String**| The name of the commit/branch/tag. Default the repository’s default branch (usually master) |
-
- ### Return type
-
- [**::models::ContentsResponse**](ContentsResponse.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get_contents_list**
- > Vec<::models::ContentsResponse> repo_get_contents_list(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
- Gets the metadata of all the entries of the root dir
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **_ref** | **String**| The name of the commit/branch/tag. Default the repository’s default branch (usually master) |
-
- ### Return type
-
- [**Vec<::models::ContentsResponse>**](ContentsResponse.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get_editor_config**
- > repo_get_editor_config(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, filepath)
- Get the EditorConfig definitions of a file in a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **filepath** | **String**| filepath of file to get |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get_git_hook**
- > ::models::GitHook repo_get_git_hook(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id)
- Get a Git hook
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **String**| id of the hook to get |
-
- ### Return type
-
- [**::models::GitHook**](GitHook.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get_hook**
- > ::models::Hook repo_get_hook(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id)
- Get a hook
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| id of the hook to get |
-
- ### Return type
-
- [**::models::Hook**](Hook.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get_key**
- > ::models::DeployKey repo_get_key(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id)
- Get a repository's key by id
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| id of the key to get |
-
- ### Return type
-
- [**::models::DeployKey**](DeployKey.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get_pull_request**
- > ::models::PullRequest repo_get_pull_request(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index)
- Get a pull request
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **index** | **i64**| index of the pull request to get |
-
- ### Return type
-
- [**::models::PullRequest**](PullRequest.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get_raw_file**
- > repo_get_raw_file(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, filepath)
- Get a file from a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **filepath** | **String**| filepath of the file to get |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get_release**
- > ::models::Release repo_get_release(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id)
- Get a release
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| id of the release to get |
-
- ### Return type
-
- [**::models::Release**](Release.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get_release_attachment**
- > ::models::Attachment repo_get_release_attachment(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, attachment_id)
- Get a release attachment
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| id of the release |
- **attachment_id** | **i64**| id of the attachment to get |
-
- ### Return type
-
- [**::models::Attachment**](Attachment.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_get_single_commit**
- > ::models::Commit repo_get_single_commit(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, sha)
- Get a single commit from a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **sha** | **String**| the commit hash |
-
- ### Return type
-
- [**::models::Commit**](Commit.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_list_all_git_refs**
- > Vec<::models::Reference> repo_list_all_git_refs(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- Get specified ref or filtered repository's refs
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
-
- ### Return type
-
- [**Vec<::models::Reference>**](Reference.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_list_branches**
- > Vec<::models::Branch> repo_list_branches(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- List a repository's branches
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
-
- ### Return type
-
- [**Vec<::models::Branch>**](Branch.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_list_collaborators**
- > Vec<::models::User> repo_list_collaborators(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- List a repository's collaborators
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
-
- ### Return type
-
- [**Vec<::models::User>**](User.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_list_git_hooks**
- > Vec<::models::GitHook> repo_list_git_hooks(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- List the Git hooks in a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
-
- ### Return type
-
- [**Vec<::models::GitHook>**](GitHook.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_list_git_refs**
- > Vec<::models::Reference> repo_list_git_refs(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, _ref)
- Get specified ref or filtered repository's refs
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **_ref** | **String**| part or full name of the ref |
-
- ### Return type
-
- [**Vec<::models::Reference>**](Reference.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_list_hooks**
- > Vec<::models::Hook> repo_list_hooks(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- List the hooks in a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
-
- ### Return type
-
- [**Vec<::models::Hook>**](Hook.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_list_keys**
- > Vec<::models::DeployKey> repo_list_keys(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
- List a repository's keys
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **key_id** | **i32**| the key_id to search for |
- **fingerprint** | **String**| fingerprint of the key |
-
- ### Return type
-
- [**Vec<::models::DeployKey>**](DeployKey.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_list_pull_requests**
- > Vec<::models::PullRequest> repo_list_pull_requests(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
- List a repo's pull requests
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **page** | **i32**| Page number |
- **state** | **String**| State of pull request: open or closed (optional) |
- **sort** | **String**| Type of sort |
- **milestone** | **i64**| ID of the milestone |
- **labels** | [**Vec<i64>**](i64.md)| Label IDs |
-
- ### Return type
-
- [**Vec<::models::PullRequest>**](PullRequest.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_list_release_attachments**
- > Vec<::models::Attachment> repo_list_release_attachments(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id)
- List release's attachments
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| id of the release |
-
- ### Return type
-
- [**Vec<::models::Attachment>**](Attachment.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_list_releases**
- > Vec<::models::Release> repo_list_releases(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
- List a repo's releases
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **page** | **i32**| page wants to load |
- **per_page** | **i32**| items count every page wants to load |
-
- ### Return type
-
- [**Vec<::models::Release>**](Release.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_list_stargazers**
- > Vec<::models::User> repo_list_stargazers(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- List a repo's stargazers
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
-
- ### Return type
-
- [**Vec<::models::User>**](User.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_list_statuses**
- > Vec<::models::Status> repo_list_statuses(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, sha, optional)
- Get a commit's statuses
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **sha** | **String**| sha of the commit |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **sha** | **String**| sha of the commit |
- **page** | **i32**| page number of results |
- **sort** | **String**| type of sort |
- **state** | **String**| type of state |
-
- ### Return type
-
- [**Vec<::models::Status>**](Status.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_list_subscribers**
- > Vec<::models::User> repo_list_subscribers(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- List a repo's watchers
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
-
- ### Return type
-
- [**Vec<::models::User>**](User.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_list_tags**
- > Vec<::models::Tag> repo_list_tags(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- List a repository's tags
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
-
- ### Return type
-
- [**Vec<::models::Tag>**](Tag.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_list_topics**
- > ::models::TopicName repo_list_topics(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- Get list of topics that a repository has
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
-
- ### Return type
-
- [**::models::TopicName**](TopicName.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_merge_pull_request**
- > repo_merge_pull_request(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, optional)
- Merge a pull request
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **index** | **i64**| index of the pull request to merge |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **index** | **i64**| index of the pull request to merge |
- **body** | [**MergePullRequestOption**](MergePullRequestOption.md)| |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_migrate**
- > ::models::Repository repo_migrate(ctx, ctx, ctx, ctx, ctx, ctx, optional)
- Migrate a remote git repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **body** | [**MigrateRepoForm**](MigrateRepoForm.md)| |
-
- ### Return type
-
- [**::models::Repository**](Repository.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_mirror_sync**
- > repo_mirror_sync(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- Sync a mirrored repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo to sync |
- **repo** | **String**| name of the repo to sync |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_pull_request_is_merged**
- > repo_pull_request_is_merged(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index)
- Check if a pull request has been merged
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **index** | **i64**| index of the pull request |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_search**
- > ::models::SearchResults repo_search(ctx, ctx, ctx, ctx, ctx, ctx, optional)
- Search for repositories
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **q** | **String**| keyword |
- **topic** | **bool**| Limit search to repositories with keyword as topic |
- **include_desc** | **bool**| include search of keyword within repository description |
- **uid** | **i64**| search only for repos that the user with the given id owns or contributes to |
- **priority_owner_id** | **i64**| repo owner to prioritize in the results |
- **starred_by** | **i64**| search only for repos that the user with the given id has starred |
- **private** | **bool**| include private repositories this user has access to (defaults to true) |
- **template** | **bool**| include template repositories this user has access to (defaults to true) |
- **page** | **i32**| page number of results to return (1-based) |
- **limit** | **i32**| page size of results, maximum page size is 50 |
- **mode** | **String**| type of repository to search for. Supported values are \"fork\", \"source\", \"mirror\" and \"collaborative\" |
- **exclusive** | **bool**| if `uid` is given, search only for repos that the user owns |
- **sort** | **String**| sort repos by attribute. Supported values are \"alpha\", \"created\", \"updated\", \"size\", and \"id\". Default is \"alpha\" |
- **order** | **String**| sort order, either \"asc\" (ascending) or \"desc\" (descending). Default is \"asc\", ignored if \"sort\" is not specified. |
-
- ### Return type
-
- [**::models::SearchResults**](SearchResults.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_signing_key**
- > String repo_signing_key(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- Get signing-key.gpg for given repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
-
- ### Return type
-
- **String**
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: text/plain
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_test_hook**
- > repo_test_hook(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id)
- Test a push webhook
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **id** | **i64**| id of the hook to test |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_tracked_times**
- > Vec<::models::TrackedTime> repo_tracked_times(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- List a repo's tracked times
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
-
- ### Return type
-
- [**Vec<::models::TrackedTime>**](TrackedTime.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_update_file**
- > ::models::FileResponse repo_update_file(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, filepath, body)
- Update a file in a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **filepath** | **String**| path of the file to update |
- **body** | [**UpdateFileOptions**](UpdateFileOptions.md)| |
-
- ### Return type
-
- [**::models::FileResponse**](FileResponse.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **repo_update_topics**
- > repo_update_topics(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
- Replace list of topics for a repository
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
- **body** | [**RepoTopicOptions**](RepoTopicOptions.md)| |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **topic_search**
- > Vec<::models::TopicResponse> topic_search(ctx, ctx, ctx, ctx, ctx, ctx, q)
- search topics via keyword
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **q** | **String**| keywords to search |
-
- ### Return type
-
- [**Vec<::models::TopicResponse>**](TopicResponse.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **user_current_check_subscription**
- > ::models::WatchInfo user_current_check_subscription(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- Check if the current user is watching a repo
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
-
- ### Return type
-
- [**::models::WatchInfo**](WatchInfo.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json, text/html
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **user_current_delete_subscription**
- > user_current_delete_subscription(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- Unwatch a repo
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json, text/html
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
- # **user_current_put_subscription**
- > ::models::WatchInfo user_current_put_subscription(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
- Watch a repo
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **owner** | **String**| owner of the repo |
- **repo** | **String**| name of the repo |
-
- ### Return type
-
- [**::models::WatchInfo**](WatchInfo.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json, text/html
-
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
|