-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpath---zapier-objects-user-dca51b6a09c3ab12ea43.js
More file actions
2 lines (2 loc) · 3.08 KB
/
path---zapier-objects-user-dca51b6a09c3ab12ea43.js
File metadata and controls
2 lines (2 loc) · 3.08 KB
1
2
webpackJsonp([0xed3270fa0425],{545:function(e,t){e.exports={data:{markdownRemark:{html:'<p>The User object describes an individual user on Pathwright, which may be a member of multiple schools.</p>\n<h2 id="attributes"><a href="#attributes" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Attributes</h2>\n<ul>\n<li><strong>id:</strong> The User’s unique ID.</li>\n<li><strong>username:</strong> Username of the User. In most cases, this will be their email address, however older users may have a different username.</li>\n<li><strong>first_name:</strong> The User’s first name.</li>\n<li><strong>last_name:</strong> The User’s last name.</li>\n<li><strong>email:</strong> The User’s email address.</li>\n<li>\n<p><strong>membership:</strong> An object describing the membership of the User to the School that sent this object.</p>\n<ul>\n<li>\n<p><strong>membership_type:</strong> A numerical constant describing the type of Membership:</p>\n<ul>\n<li><code>0</code>: Student</li>\n<li><code>20</code>: Edtior</li>\n<li><code>30</code>: Administrator</li>\n</ul>\n</li>\n<li><strong>is_school_admin:</strong> Whether or not the User is an administrator of the School.</li>\n<li><strong>can_create_course:</strong> Whether or not the User can create courses in the school. True for editors and above.</li>\n<li><strong>can_manage_school:</strong> Whether or not the User can manage the school. True for administrators.</li>\n</ul>\n</li>\n</ul>\n<h2 id="example-object"><a href="#example-object" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Example Object</h2>\n<div class="gatsby-highlight">\n <pre class="language-none"><code>{\n\t"id": 43321,\n\t"username": "john_doe"\n\t"first_name": "John",\n\t"last_name": "Doe",\n\t"email": "john.doe@example.com",\n\t"membership": {\n "membership_type": 20,\n "is_school_admin": False,\n "can_create_course": True,\n "can_manage_school": False\n }\n}</code></pre>\n </div>',tableOfContents:'<ul>\n<li><a href="#attributes">Attributes</a></li>\n<li><a href="#example-object">Example Object</a></li>\n</ul>',frontmatter:{title:"User"}}},pathContext:{slug:"/zapier/objects/user/"}}}});
//# sourceMappingURL=path---zapier-objects-user-dca51b6a09c3ab12ea43.js.map