Skip to content

fork extension

POST
/api/v1/extensions/{extension_id}/fork

Controller:

github.com/raghavyuva/nixopus-api/internal/features/extension/controller.(*ExtensionsController).ForkExtension

Middlewares:

  • github.com/go-fuego/fuego.defaultLogger.middleware
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).SetupRoutes.(*Router).setupAuthentication.func2
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func1
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func3

Parameters

Header Parameters

Accept
Type
string

Path Parameters

extension_id*
Type
string
Required

Request Body

*/*
JSON
{
"yaml_content": "string"
}

Responses

OK

JSON
{
"data": {
"author": "string",
"category": "string",
"content_hash": "string",
"created_at": "string",
"deleted_at": "string",
"description": "string",
"extension_id": "string",
"extension_type": "string",
"icon": "string",
"id": null,
"is_verified": true,
"name": "string",
"parent_extension_id": "string",
"parsed_content": "string",
"updated_at": "string",
"validation_errors": "string",
"validation_status": "string",
"variables": [
{
"created_at": "string",
"default_value": null,
"description": "string",
"extension": {
"author": "string",
"category": "string",
"content_hash": "string",
"created_at": "string",
"deleted_at": "string",
"description": "string",
"extension_id": "string",
"extension_type": "string",
"icon": "string",
"id": null,
"is_verified": true,
"name": "string",
"parent_extension_id": "string",
"parsed_content": "string",
"updated_at": "string",
"validation_errors": "string",
"validation_status": "string",
"variables": [
{
"created_at": "string",
"default_value": null,
"description": "string",
"extension": "[Circular Reference]",
"extension_id": null,
"id": null,
"is_required": true,
"validation_pattern": "string",
"variable_name": "string",
"variable_type": "string"
}
],
"version": "string",
"yaml_content": "string"
},
"extension_id": null,
"id": null,
"is_required": true,
"validation_pattern": "string",
"variable_name": "string",
"variable_type": "string"
}
],
"version": "string",
"yaml_content": "string"
},
"message": "string",
"status": "string"
}

Playground

Server
Headers
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

Made with love
Released under the Functional Source License (FSL)