SpacesController Class

Namespace:
Weavy.Web.Api.Controllers
Assembly:
Weavy.Web.dll

A space is a work area. Apps, Items, Posts and other things all exists in the context of a space. Users can be members of a space which give them certain permissions.

public class SpacesController : WeavyApiController
Inheritance:
System.Object → WeavyApiControllerSpacesController

Constructors

SpacesController()

Methods

AddMembers(int, MembersIn) Add members to a space
Delete(int) Permanently delete the space with the specified id.
DeleteFollow(int) Stop following the activity in a space.
DeleteLeave(int) Leaves the specified space.
DeleteStar(int) Mark a space as unstarred by the current user.
Get(int) Get the space with the specified id.
GetMembers(int) Gets the members of the space.
GetSpaces() Returns the available spaces, i.e. spaces that are visible for the current user.
Post(Space) Creates a new space.
PostFollow(int) Start following the activity in a space.
PostJoin(int) Joins the specified space.
PostStar(int) Mark a space as starred by the current user.
Put(int, Space) Updates a space.
RemoveMember(int, MemberUp) Removes a member from the space.
Restore(int) Restores the Space with the specified id.
ReviewMember(int, MemberUp) Update a space member
Search(SpaceQuery) Performs a search for spaces.
Trash(int) Trashes the Space with the specified id.
UpdateMember(int, MemberUp) Update a space member

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(object, Formatting?, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.