SlideShare une entreprise Scribd logo
1  sur  20
European Developer Summit
                                     Nov 9| Rotterdam, NL




Developer’s Guide to the
   ArcGIS Portal API
   Julie Powell, Antoon Uijtdehaag
Developing with ArcGIS Online

  •   ArcGIS Portal API
      -   Portal, Content, Tasks, Hosted Services


  •   ArcGIS Web APIs
      -   Create fully customized web mapping applications


  •   ArcGIS Runtime SDKs
      -   Build applications for the desktop and mobile devices


  •   Develop an App from a webmap
  •   Configure and application template
ArcGIS Online Web maps
Can be used in many ways, in many applications, on many devices




                                                     Custom Applications
ArcMap


                                Web map




            Mobile Apps                           Configurable App Templates
Map ID
A unique identifier, like a social security number
Turn web maps into Web apps




                                    Publish




                         Choose a
  Author Map             Template



               Share
ArcGIS Online Architecture for Developers




       ArcGIS Server REST API             ArcGIS Portal REST API

                                          ArcGIS Online Respository
                          ArcGIS Online
       ArcGIS Server
        ArcGIS Server     Map Services    Search   Community   Content
ArcGIS Portal

  •   REST-based API to access and work with
      -   Users
      -   Groups
      -   Items
Working with the ArcGIS Portal REST API




  Authent.            Portal




                   Users   Groups     Items
        Search     Community        Content
Portals


   •   /portals/self - Portal Info
       -   /sharing/rest/portals/self
   •   Languages and Regions
       -   /sharing/rest/portals/languages
   •   Manage
   •   File Resources
   •   Users



   •   http://www.arcgis.com/apidocs/rest/?portals.html
Search

 •   Item Search
      -   /sharing/rest/search?q=<query>
      -   title, owner, type, tags, description, created/modified…
           -   E.g. +type:”Web Map” –title:test


 •   User Search
      -   /sharing/rest/community/users?q=<query>
      -   username, description, tags, …
           -   E.g. +fullname:”Andrea Rosso”


 •   Group Search
      -   /sharing/rest/community/groups?q=<query>
      -   title, owner, description, tags, created/modified…
           -   E.g. +title:”My Maps” +owner:arosso_t1


 •   http://www.arcgis.com/apidocs/rest/?searchreference.html
Community

   •   Groups
       -   Manage
            -   /sharing/rest/community/groups/<groupid>
       -   Invite/Apply
            -   /sharing/rest/community/groups/<groupid>/applications



   •   Users
       -   Manage
            -   /sharing/rest/community/users/<username>
       -   Notifications
            -   /sharing/rest/community/users/<username>/notifications



   •   http://www.arcgis.com/apidocs/rest/?community.html
Content

   •   Item
       -   /sharing/rest/content/items/<itemId>
   •   User Content
       -   /sharing/rest/content/users/<username>
   •   Manage Items
   •   Folders
   •   Relationships
   •   Share/Unshare Items
   •   Ratings and Comments
   •   Group Content
   •   Analyze/Generate


   •   http://www.arcgis.com/apidocs/rest/?content.html
Adding Items


   •   addItem
        •   /sharing/rest/content/users/<userid>/addItem


       -    Synchronous
       -    Asynchronous
       -    Multi-Part



   •   http://www.arcgis.com/apidocs/rest/?additem.html
Demo:
Working with the ArcGIS REST API
Authentication


• An application connects to Online / Portal as either :
   • an anonymous user or
   • an authenticated user
      • Using credentials for the user


• The application see’s what the user is privileged to see
   • The user may be part of an organizational subscription


• generateToken API call lets an App get a short term token in
  exchange for credentials over https
   • Apps should use Identity Manager control in client SDKs
   • see Security Flows section
Security Flows


• There are different kinds of Apps :

   • Apps that allow Users to access secure content that
     belongs to the Users

   • Apps that access secure content that belongs to the App

   • hybrid
Apps that work with secured User Content


• Users trust the App
   • it has access to their secure content

• Users need to login to their accounts by presenting
  credentials to the Server

• Apps can use the Identity Managers in the client SDKs

• Identity Mgr takes care of communicating with the server’s
  security Token Service over https and getting and renewing
  tokens.

• All subsequent use and transmission of tokens, parameters
  and resulting content must also be over https if the
  organization has chosen the “all-SSL” option.
Apps that work with secured App content

•    App has its own credentials that it needs to communicate with the
     server.

•    App credentials should not be exposed to end users
      • Implies a server side flow for otherwise client side web apps

•    App can use a server side proxy configured with app credentials

•    proxy responsible for getting and renewing short term tokens using
     credentials over https

•    All subsequent requests also over https as needed

•    Proxy should be secured to the App
      • by Referer
      • by a server side App Session ID maintained by the App
What’s Next?
Developer’s Guide to the ArcGIS Portal API, Esri, Julie Powell, Antoon Uijtdehaag

Contenu connexe

Tendances

Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...
Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...
Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...
Esri Nederland
 
Introduction to ArcGIS for Developers, Esri, Charles van der Put, Jim Barry
Introduction toArcGIS for Developers, Esri, Charles van der Put, Jim BarryIntroduction toArcGIS for Developers, Esri, Charles van der Put, Jim Barry
Introduction to ArcGIS for Developers, Esri, Charles van der Put, Jim Barry
Esri Nederland
 
Esri Scotland Conf 2016 Web AppBuilder
Esri Scotland Conf 2016   Web AppBuilderEsri Scotland Conf 2016   Web AppBuilder
Esri Scotland Conf 2016 Web AppBuilder
Esri UK
 
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Esri Nederland
 

Tendances (20)

Esri Ireland "ArcGIS - The Platform Story" Roadmap Session - Eamonn Doyle, Es...
Esri Ireland "ArcGIS - The Platform Story" Roadmap Session - Eamonn Doyle, Es...Esri Ireland "ArcGIS - The Platform Story" Roadmap Session - Eamonn Doyle, Es...
Esri Ireland "ArcGIS - The Platform Story" Roadmap Session - Eamonn Doyle, Es...
 
Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...
Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...
Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...
 
The ArcGIS Platform: Appyling Geography Everywhere
The ArcGIS Platform: Appyling Geography EverywhereThe ArcGIS Platform: Appyling Geography Everywhere
The ArcGIS Platform: Appyling Geography Everywhere
 
NDGeospatialSummit2019 - ArcGIS Pro – Next-Generation Desktop GIS
NDGeospatialSummit2019 - ArcGIS Pro – Next-Generation Desktop GISNDGeospatialSummit2019 - ArcGIS Pro – Next-Generation Desktop GIS
NDGeospatialSummit2019 - ArcGIS Pro – Next-Generation Desktop GIS
 
Esri 2016 User Conference - ArcGIS Online steps for success
Esri 2016 User Conference - ArcGIS Online steps for successEsri 2016 User Conference - ArcGIS Online steps for success
Esri 2016 User Conference - ArcGIS Online steps for success
 
Working with ArcGIS Online
Working with ArcGIS OnlineWorking with ArcGIS Online
Working with ArcGIS Online
 
NDGeospatialSummit2019 - ArcGIS Enterprise – Power Your Location Intelligence
NDGeospatialSummit2019 - ArcGIS Enterprise – Power Your Location IntelligenceNDGeospatialSummit2019 - ArcGIS Enterprise – Power Your Location Intelligence
NDGeospatialSummit2019 - ArcGIS Enterprise – Power Your Location Intelligence
 
NDGeospatialSummit2019 - What’s New with ArcGIS – Highlights From the 2019 UC
NDGeospatialSummit2019 - What’s New with ArcGIS – Highlights From the 2019 UC NDGeospatialSummit2019 - What’s New with ArcGIS – Highlights From the 2019 UC
NDGeospatialSummit2019 - What’s New with ArcGIS – Highlights From the 2019 UC
 
Introduction to ArcGIS for Developers, Esri, Charles van der Put, Jim Barry
Introduction toArcGIS for Developers, Esri, Charles van der Put, Jim BarryIntroduction toArcGIS for Developers, Esri, Charles van der Put, Jim Barry
Introduction to ArcGIS for Developers, Esri, Charles van der Put, Jim Barry
 
Developing a Weather Forecasting Web-Service using ArcGIS API for JavaScript
Developing a Weather Forecasting Web-Service using ArcGIS API for JavaScriptDeveloping a Weather Forecasting Web-Service using ArcGIS API for JavaScript
Developing a Weather Forecasting Web-Service using ArcGIS API for JavaScript
 
Esri Map App Builders
Esri Map App BuildersEsri Map App Builders
Esri Map App Builders
 
ArcGIS JavaScript API (build a web layer-based map application with html5 and...
ArcGIS JavaScript API (build a web layer-based map application with html5 and...ArcGIS JavaScript API (build a web layer-based map application with html5 and...
ArcGIS JavaScript API (build a web layer-based map application with html5 and...
 
ArcGIS API for Javascript Tutorial
ArcGIS API for Javascript TutorialArcGIS API for Javascript Tutorial
ArcGIS API for Javascript Tutorial
 
Navteq Developer Days - ArcGIS + POI
Navteq Developer Days - ArcGIS + POINavteq Developer Days - ArcGIS + POI
Navteq Developer Days - ArcGIS + POI
 
Portal for ArcGIS
Portal for ArcGISPortal for ArcGIS
Portal for ArcGIS
 
Esri Scotland Conf 2016 Web AppBuilder
Esri Scotland Conf 2016   Web AppBuilderEsri Scotland Conf 2016   Web AppBuilder
Esri Scotland Conf 2016 Web AppBuilder
 
NDGISUC2017 - Introducing ArcGIS Pro
NDGISUC2017 - Introducing ArcGIS ProNDGISUC2017 - Introducing ArcGIS Pro
NDGISUC2017 - Introducing ArcGIS Pro
 
Collector for ArcGIS
Collector for ArcGISCollector for ArcGIS
Collector for ArcGIS
 
Esri South Africa ArcGIS 10.2 Rollout
Esri South Africa ArcGIS 10.2 Rollout Esri South Africa ArcGIS 10.2 Rollout
Esri South Africa ArcGIS 10.2 Rollout
 
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
 

En vedette

Esri Deploying Portal for ArcGIS
Esri Deploying Portal for ArcGISEsri Deploying Portal for ArcGIS
Esri Deploying Portal for ArcGIS
Michelle House
 
API Management architect presentation
API Management architect presentationAPI Management architect presentation
API Management architect presentation
sflynn073
 

En vedette (9)

Portal for ArcGIS
Portal for ArcGISPortal for ArcGIS
Portal for ArcGIS
 
Esri Deploying Portal for ArcGIS
Esri Deploying Portal for ArcGISEsri Deploying Portal for ArcGIS
Esri Deploying Portal for ArcGIS
 
How to Become a Superstar for Your Utility in 2 Weeks
How to Become a Superstar for Your Utility in 2 WeeksHow to Become a Superstar for Your Utility in 2 Weeks
How to Become a Superstar for Your Utility in 2 Weeks
 
Geonode 2.0
Geonode 2.0Geonode 2.0
Geonode 2.0
 
How to Enable Monetization of Your API Ecosystem
How to Enable Monetization of Your API EcosystemHow to Enable Monetization of Your API Ecosystem
How to Enable Monetization of Your API Ecosystem
 
API Connect Presentation
API Connect PresentationAPI Connect Presentation
API Connect Presentation
 
Open API and API Management - Introduction and Comparison of Products: TIBCO ...
Open API and API Management - Introduction and Comparison of Products: TIBCO ...Open API and API Management - Introduction and Comparison of Products: TIBCO ...
Open API and API Management - Introduction and Comparison of Products: TIBCO ...
 
Architecting an Enterprise API Management Strategy
Architecting an Enterprise API Management StrategyArchitecting an Enterprise API Management Strategy
Architecting an Enterprise API Management Strategy
 
API Management architect presentation
API Management architect presentationAPI Management architect presentation
API Management architect presentation
 

Similaire à Developer’s Guide to the ArcGIS Portal API, Esri, Julie Powell, Antoon Uijtdehaag

MSDN - SharePoint 2013 to app or not to app
MSDN - SharePoint 2013 to app or not to appMSDN - SharePoint 2013 to app or not to app
MSDN - SharePoint 2013 to app or not to app
Joris Poelmans
 

Similaire à Developer’s Guide to the ArcGIS Portal API, Esri, Julie Powell, Antoon Uijtdehaag (20)

SharePoint 2013 App or Not to App
SharePoint 2013 App or Not to AppSharePoint 2013 App or Not to App
SharePoint 2013 App or Not to App
 
The Greatest Introduction to SharePoint Framework (SPFx) on earth!
The Greatest Introduction to SharePoint Framework (SPFx) on earth!The Greatest Introduction to SharePoint Framework (SPFx) on earth!
The Greatest Introduction to SharePoint Framework (SPFx) on earth!
 
Introduction to SharePoint Framework
Introduction to SharePoint FrameworkIntroduction to SharePoint Framework
Introduction to SharePoint Framework
 
MSDN - SharePoint 2013 to app or not to app
MSDN - SharePoint 2013 to app or not to appMSDN - SharePoint 2013 to app or not to app
MSDN - SharePoint 2013 to app or not to app
 
Cloud-Based App Development using SharePoint 2013, Office 365 and Azure
Cloud-Based App Development using SharePoint 2013, Office 365 and AzureCloud-Based App Development using SharePoint 2013, Office 365 and Azure
Cloud-Based App Development using SharePoint 2013, Office 365 and Azure
 
DotNet 2019 | Hugo Biarge - Autenticación en aplicaciones web y nativas
DotNet 2019 | Hugo Biarge - Autenticación en aplicaciones web y nativasDotNet 2019 | Hugo Biarge - Autenticación en aplicaciones web y nativas
DotNet 2019 | Hugo Biarge - Autenticación en aplicaciones web y nativas
 
SharePoint Server 2013: to app or not to app?
SharePoint Server 2013: to app or not to app? SharePoint Server 2013: to app or not to app?
SharePoint Server 2013: to app or not to app?
 
Successful use of ArcGIS Online in Organisations - Esri norsk BK 2014
Successful use of ArcGIS Online in Organisations - Esri norsk BK 2014Successful use of ArcGIS Online in Organisations - Esri norsk BK 2014
Successful use of ArcGIS Online in Organisations - Esri norsk BK 2014
 
(Almost) All About Apps for SharePoint 2013
(Almost) All About Apps for SharePoint 2013(Almost) All About Apps for SharePoint 2013
(Almost) All About Apps for SharePoint 2013
 
Building APIs in an easy way using API Platform
Building APIs in an easy way using API PlatformBuilding APIs in an easy way using API Platform
Building APIs in an easy way using API Platform
 
Building Research Applications with Globus PaaS
Building Research Applications with Globus PaaSBuilding Research Applications with Globus PaaS
Building Research Applications with Globus PaaS
 
Gis without the_box_may2012
Gis without the_box_may2012Gis without the_box_may2012
Gis without the_box_may2012
 
2.28.17 Introducing DSpace 7 Webinar Slides
2.28.17 Introducing DSpace 7 Webinar Slides2.28.17 Introducing DSpace 7 Webinar Slides
2.28.17 Introducing DSpace 7 Webinar Slides
 
Containers on azure web apps
Containers on azure web appsContainers on azure web apps
Containers on azure web apps
 
IBM Social Business Toolkit
IBM Social Business ToolkitIBM Social Business Toolkit
IBM Social Business Toolkit
 
The SharePoint 2013 App Model
The SharePoint 2013 App ModelThe SharePoint 2013 App Model
The SharePoint 2013 App Model
 
SP Apps, New Model, New App Store: The Office Store
SP Apps, New Model, New App Store: The Office StoreSP Apps, New Model, New App Store: The Office Store
SP Apps, New Model, New App Store: The Office Store
 
In app search 1
In app search 1In app search 1
In app search 1
 
Sonja madsen speaker slides espc 2013
Sonja madsen speaker slides espc 2013Sonja madsen speaker slides espc 2013
Sonja madsen speaker slides espc 2013
 
Developer’s Independence Day: Introducing the SharePoint App Model
Developer’s Independence Day:Introducing the SharePoint App ModelDeveloper’s Independence Day:Introducing the SharePoint App Model
Developer’s Independence Day: Introducing the SharePoint App Model
 

Plus de Esri Nederland (7)

Het verhaal achter kaarten
Het verhaal achter kaartenHet verhaal achter kaarten
Het verhaal achter kaarten
 
EGC2013 Mark Herbold
EGC2013 Mark HerboldEGC2013 Mark Herbold
EGC2013 Mark Herbold
 
Gin presentatie
Gin presentatieGin presentatie
Gin presentatie
 
Flex en silverlight viewer configuratie, Esri, Mark Jagt, Boudewijn Boogaard
Flex en silverlight viewer configuratie, Esri, Mark Jagt, Boudewijn BoogaardFlex en silverlight viewer configuratie, Esri, Mark Jagt, Boudewijn Boogaard
Flex en silverlight viewer configuratie, Esri, Mark Jagt, Boudewijn Boogaard
 
Building good web_maps, Esri, Joris Bak
Building good web_maps, Esri, Joris BakBuilding good web_maps, Esri, Joris Bak
Building good web_maps, Esri, Joris Bak
 
Open data, nu!
Open data, nu!Open data, nu!
Open data, nu!
 
Open data workshop modellen
Open data workshop modellenOpen data workshop modellen
Open data workshop modellen
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

Developer’s Guide to the ArcGIS Portal API, Esri, Julie Powell, Antoon Uijtdehaag

  • 1. European Developer Summit Nov 9| Rotterdam, NL Developer’s Guide to the ArcGIS Portal API Julie Powell, Antoon Uijtdehaag
  • 2. Developing with ArcGIS Online • ArcGIS Portal API - Portal, Content, Tasks, Hosted Services • ArcGIS Web APIs - Create fully customized web mapping applications • ArcGIS Runtime SDKs - Build applications for the desktop and mobile devices • Develop an App from a webmap • Configure and application template
  • 3. ArcGIS Online Web maps Can be used in many ways, in many applications, on many devices Custom Applications ArcMap Web map Mobile Apps Configurable App Templates
  • 4. Map ID A unique identifier, like a social security number
  • 5. Turn web maps into Web apps Publish Choose a Author Map Template Share
  • 6. ArcGIS Online Architecture for Developers ArcGIS Server REST API ArcGIS Portal REST API ArcGIS Online Respository ArcGIS Online ArcGIS Server ArcGIS Server Map Services Search Community Content
  • 7. ArcGIS Portal • REST-based API to access and work with - Users - Groups - Items
  • 8. Working with the ArcGIS Portal REST API Authent. Portal Users Groups Items Search Community Content
  • 9. Portals • /portals/self - Portal Info - /sharing/rest/portals/self • Languages and Regions - /sharing/rest/portals/languages • Manage • File Resources • Users • http://www.arcgis.com/apidocs/rest/?portals.html
  • 10. Search • Item Search - /sharing/rest/search?q=<query> - title, owner, type, tags, description, created/modified… - E.g. +type:”Web Map” –title:test • User Search - /sharing/rest/community/users?q=<query> - username, description, tags, … - E.g. +fullname:”Andrea Rosso” • Group Search - /sharing/rest/community/groups?q=<query> - title, owner, description, tags, created/modified… - E.g. +title:”My Maps” +owner:arosso_t1 • http://www.arcgis.com/apidocs/rest/?searchreference.html
  • 11. Community • Groups - Manage - /sharing/rest/community/groups/<groupid> - Invite/Apply - /sharing/rest/community/groups/<groupid>/applications • Users - Manage - /sharing/rest/community/users/<username> - Notifications - /sharing/rest/community/users/<username>/notifications • http://www.arcgis.com/apidocs/rest/?community.html
  • 12. Content • Item - /sharing/rest/content/items/<itemId> • User Content - /sharing/rest/content/users/<username> • Manage Items • Folders • Relationships • Share/Unshare Items • Ratings and Comments • Group Content • Analyze/Generate • http://www.arcgis.com/apidocs/rest/?content.html
  • 13. Adding Items • addItem • /sharing/rest/content/users/<userid>/addItem - Synchronous - Asynchronous - Multi-Part • http://www.arcgis.com/apidocs/rest/?additem.html
  • 14. Demo: Working with the ArcGIS REST API
  • 15. Authentication • An application connects to Online / Portal as either : • an anonymous user or • an authenticated user • Using credentials for the user • The application see’s what the user is privileged to see • The user may be part of an organizational subscription • generateToken API call lets an App get a short term token in exchange for credentials over https • Apps should use Identity Manager control in client SDKs • see Security Flows section
  • 16. Security Flows • There are different kinds of Apps : • Apps that allow Users to access secure content that belongs to the Users • Apps that access secure content that belongs to the App • hybrid
  • 17. Apps that work with secured User Content • Users trust the App • it has access to their secure content • Users need to login to their accounts by presenting credentials to the Server • Apps can use the Identity Managers in the client SDKs • Identity Mgr takes care of communicating with the server’s security Token Service over https and getting and renewing tokens. • All subsequent use and transmission of tokens, parameters and resulting content must also be over https if the organization has chosen the “all-SSL” option.
  • 18. Apps that work with secured App content • App has its own credentials that it needs to communicate with the server. • App credentials should not be exposed to end users • Implies a server side flow for otherwise client side web apps • App can use a server side proxy configured with app credentials • proxy responsible for getting and renewing short term tokens using credentials over https • All subsequent requests also over https as needed • Proxy should be secured to the App • by Referer • by a server side App Session ID maintained by the App

Notes de l'éditeur

  1. 1. JS – SHP demo: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm2. (Mark’s demo) Publish shp file, index (register) AGS services3. (Matthias demo) Catalog public &amp; private items from AGO Org account4. Python – create weekly report of new items