postProjectsForkWithHttpInfo method
Creates a project seeded from a PUBLISHED EXAMPLE — either a starter-kit template from the ONE embedded gallery catalog, or any live project on the platform (an example a seeded creator published, or another org's app serving at
Creates a project seeded from a PUBLISHED EXAMPLE — either a starter-kit template from the ONE embedded gallery catalog, or any live project on the platform (an example a seeded creator published, or another org's app serving at
Note: This method returns the HTTP Response.
Parameters:
- ProjectsFork projectsFork (required):
Implementation
Future<Response> postProjectsForkWithHttpInfo(ProjectsFork projectsFork,) async {
// ignore: prefer_const_declarations
final path = r'/v1/projects/fork';
// ignore: prefer_final_locals
Object? postBody = projectsFork;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}