📚 Documentation

Everything you need to know about using NetOps Vault

Introduction

Welcome to NetOps Vault! This platform helps network engineers and DevOps professionals store, organize, and share configuration snippets, scripts, and code in a secure and collaborative environment.

Code Storage

Store unlimited configuration snippets with syntax highlighting for 100+ languages.

Collaboration

Share snippets with teams, manage permissions, and collaborate seamlessly.

Version Control

Track changes with automatic version history and compare differences.

API Access

Full REST API for automation and integration with your workflows.

Quick Start

1. Create Your Account

Sign up using your email, Google, or GitHub account. Email verification is required for security.

Screenshot: Sign up page with OAuth options

2. Create Your First Snippet

  1. Click the "+ New Snippet" button in the navigation bar
  2. Enter a title and description for your snippet
  3. Select the programming language for syntax highlighting
  4. Paste or type your code
  5. Add tags for easy searching
  6. Click "Save"

Screenshot: Create snippet form with all fields

Pro Tip

Use tags like "cisco", "python", "backup", or "template" to organize your snippets and make them easier to find later.

Creating & Managing Snippets

Snippet Visibility

When creating a snippet, you can choose its visibility:

  • Private: Only you can see it
  • Team: Share with specific teams
  • Public: Anyone with the link can view

Syntax Highlighting

NetOps Vault supports syntax highlighting for over 100 programming languages, including:

  • Python, JavaScript, Go, Rust
  • Cisco IOS, Juniper JunOS configurations
  • YAML, JSON, XML
  • Bash, PowerShell scripts
  • And many more...

Screenshot: Snippet detail view with syntax highlighting

Editing Snippets

To edit a snippet:

  1. Navigate to the snippet you want to edit
  2. Click the "Edit" button
  3. Make your changes
  4. Click "Update"

Version History

Every edit creates a new version. You can view the complete history and compare changes between versions.

Organizations

Organizations allow you to manage multiple teams and users under a single umbrella, perfect for companies or large groups.

Creating an Organization

  1. Go to Organizations in the navigation menu
  2. Click "Create Organization"
  3. Enter organization name and description
  4. Set visibility (public or private)
  5. Click "Create"

Screenshot: Organization dashboard with teams and members

Organization Roles

  • Owner: Full control over organization and all teams
  • Admin: Manage members and teams
  • Member: Access organization resources

Managing Members

Organization owners and admins can:

  • Invite users by username or email
  • Assign roles to members
  • Remove members
  • View audit logs (Organization plan)

Teams & Collaboration

Teams enable collaboration on snippets. Share code, configurations, and scripts with your teammates.

Creating a Team

  1. Navigate to Teams
  2. Click "Create Team"
  3. Enter team name and description
  4. Choose visibility:
    • Public: Anyone can join
    • Private: Invite-only (requires Individual Pro or Organization plan)
  5. Optionally link to an organization
  6. Click "Create"

Screenshot: Team detail page showing members and snippets

Team Roles

  • Owner: Full control, can delete team
  • Admin: Manage members and snippets
  • Member: View and create team snippets

Plan Limits

Free plan users can only create public teams. Upgrade to Individual Pro ($9/mo) to create up to 3 private teams, or Organization plan for unlimited private teams.

Folders & Organization

Organize your snippets into folders for better management and quick access.

Creating Folders

  1. Go to your snippet library
  2. Click "New Folder"
  3. Enter folder name and optional description
  4. Set permissions (who can view/edit)
  5. Click "Create"

Moving Snippets to Folders

When creating or editing a snippet, select the destination folder from the dropdown menu.

Screenshot: Folder structure with nested snippets

Version Control

Every time you edit a snippet, NetOps Vault automatically creates a new version, allowing you to track changes and revert if needed.

Viewing Version History

  1. Open any snippet
  2. Click "Version History"
  3. Browse all previous versions
  4. Click on a version to view its content

Comparing Versions

Compare any two versions to see what changed:

  1. In version history, select two versions to compare
  2. Click "Compare"
  3. View a side-by-side diff highlighting additions and deletions

Screenshot: Side-by-side version diff with highlighted changes

Note

Version history is available with Individual Pro and Organization plans. Free users can view current versions only.

Sharing Snippets

Public Sharing

To share a snippet publicly:

  1. Open the snippet
  2. Click "Make Public"
  3. Copy the public link
  4. Share the link with anyone

Team Sharing

When creating a snippet, assign it to a team. All team members will have access based on their role.

Screenshot: Public snippet view with share button

Import & Export

Import from GitHub Gist

  1. Go to Import in the menu
  2. Select "Import from Gist"
  3. Enter the Gist URL
  4. Click "Import"

Export Collection

Export all your snippets as JSON:

  1. Go to your profile
  2. Click "Export Collection"
  3. Download the JSON file

Import Collection

Import a previously exported collection:

  1. Go to Import
  2. Select "Import Collection"
  3. Upload your JSON file
  4. Review and confirm import

Backup Your Data

We recommend regularly exporting your collection as a backup. Export includes all snippets, tags, and version history.

API Overview

NetOps Vault provides a full REST API for programmatic access to your snippets. Perfect for automation, CI/CD pipelines, and custom integrations.

API Access Required

API access is available with Individual Pro ($9/mo) and Organization plans. View pricing →

Base URL

https://netops-vault.com/api/

Response Format

All API responses are in JSON format with the following structure:

{
  "status": "success",
  "data": {
    // Response data here
  }
}

Error responses:

{
  "status": "error",
  "error": "Error message description"
}

Authentication

The API uses token-based authentication. Include your API token in the Authorization header of every request.

Getting Your API Token

  1. Go to your Profile
  2. Scroll to "API Tokens" section
  3. Click "Create New Token"
  4. Give your token a name
  5. Copy the token (you won't see it again!)

Using Your Token

Include the token in the Authorization header:

Authorization: Token YOUR_API_TOKEN_HERE

Example with curl:

curl -H "Authorization: Token abc123..." \
     https://netops-vault.com/api/snippets/

Keep Your Token Secret

Never commit your API token to version control or share it publicly. Treat it like a password!

API Endpoints

GET /api/snippets/

Description: Retrieve a list of all your snippets.

Query Parameters

Parameter Type Description
search string Search snippets by title, description, or content
language string Filter by programming language
tag string Filter by tag name

Example Request

curl -H "Authorization: Token YOUR_TOKEN" \
     "https://netops-vault.com/api/snippets/?language=python"

Example Response

{
  "status": "success",
  "data": [
    {
      "id": 1,
      "title": "Cisco VLAN Configuration",
      "description": "Standard VLAN setup template",
      "language": "cisco",
      "content": "interface GigabitEthernet0/1...",
      "tags": ["cisco", "vlan", "template"],
      "created_at": "2025-12-27T10:00:00Z",
      "updated_at": "2025-12-27T15:30:00Z"
    }
  ]
}
GET /api/snippets/{id}/

Description: Retrieve a specific snippet by ID.

Example Request

curl -H "Authorization: Token YOUR_TOKEN" \
     https://netops-vault.com/api/snippets/123/
POST /api/snippets/create/

Description: Create a new snippet.

Request Body

Field Type Required Description
title string Yes Snippet title
content string Yes Snippet code/content
language string Yes Programming language
description string No Snippet description
tags array No Array of tag names

Example Request

curl -X POST \
     -H "Authorization: Token YOUR_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{
       "title": "Backup Script",
       "content": "#!/bin/bash\nbackup.sh",
       "language": "bash",
       "description": "Daily backup automation",
       "tags": ["backup", "automation"]
     }' \
     https://netops-vault.com/api/snippets/create/
PUT /api/snippets/{id}/update/

Description: Update an existing snippet. Creates a new version.

Example Request

curl -X PUT \
     -H "Authorization: Token YOUR_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{
       "content": "#!/bin/bash\n# Updated script\nbackup.sh"
     }' \
     https://netops-vault.com/api/snippets/123/update/
DELETE /api/snippets/{id}/delete/

Description: Delete a snippet permanently.

Example Request

curl -X DELETE \
     -H "Authorization: Token YOUR_TOKEN" \
     https://netops-vault.com/api/snippets/123/delete/
GET /api/teams/

Description: List all teams you're a member of.

Example Response

{
  "status": "success",
  "data": [
    {
      "id": 1,
      "name": "DevOps Team",
      "slug": "devops-team",
      "description": "Infrastructure automation",
      "is_private": true,
      "member_count": 5
    }
  ]
}
GET /api/tags/

Description: List all tags you've used.

Example Response

{
  "status": "success",
  "data": [
    {
      "id": 1,
      "name": "python",
      "snippet_count": 42
    },
    {
      "id": 2,
      "name": "cisco",
      "snippet_count": 28
    }
  ]
}

Need More Help?

For more detailed API documentation and examples, visit our interactive API documentation.