# Associations Interfaces ## Types ### Association <pre> { Name: String Office: { President: StudentLogin Secretary: StudentLogin Treasurer: StudentLogin } Members: [StudentLogin] Description: String } </pre> ## Interfaces ### /associations <pre> GET {} Return [Association] </pre> ### /associations/findAssociation <pre> GET { AssociationName: String } Return Association </pre> ### /associations/addAssociation <pre> PUT { Name: String Description: String PresidentID: StudentLogin SecretaryID: StudentLogin TreasurerID: StudentLogin } Return Boolean </pre> ### /associations/deleteAssociation <pre> DELETE { AssociationName: String } Return Boolean </pre> ### /associations/getMembers <pre> GET { name: String } Return [StudentLogin] </pre> ### /associations/addMembers <pre> POST { Student: StudentLogin } Return Boolean </pre> ### /associations/removeMembers <pre> DELETE { AssociationName: String Students: [StudentLogin] } Return Boolean </pre> ### /associations/updateOffice <pre> POST { AssociationName: String Office: { President: StudentLogin Secretary: StudentLogin Treasurer: StudentLogin } } Return Boolean </pre>
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up