Table of Contents

Class BuilderTagsController

Namespace
Builvero.Api.Controllers
Assembly
Builvero.Api.dll

Provides API endpoints for retrieving builder tags used to categorize projects and users.

[ApiController]
[Route("api/builder-tags")]
[Authorize]
public class BuilderTagsController : ControllerBase
Inheritance
BuilderTagsController
Inherited Members

Remarks

All endpoints require authentication (JWT token). Builder tags are used to categorize projects and help users discover projects that match their interests or expertise areas.

Constructors

BuilderTagsController(IBuilderTagRepository)

Initializes a new instance of the BuilderTagsController class.

public BuilderTagsController(IBuilderTagRepository builderTagRepository)

Parameters

builderTagRepository IBuilderTagRepository

Repository for builder tag data access operations.

Methods

GetBuilderTags(CancellationToken)

Retrieves all builder tags available in the system.

[HttpGet]
public Task<ActionResult<List<object>>> GetBuilderTags(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Cancellation token to cancel the operation.

Returns

Task<ActionResult<List<object>>>

200 OK: Returns list of builder tags with id and name properties

400 Bad Request: Error retrieving builder tags

Remarks

Requires authentication. Returns all builder tags regardless of whether they are currently assigned to projects. Each tag is returned as an object with id (Guid) and name (string) properties.